هذه الإضافة لم يتم تحديثها وتجربتها لأكثر من 3 إصدارات ووردبريس رئيسية. قد لا تكون خاضعة للصيانة أو تقدم الدعم والمساعدة بالوقت الحالي وقد تكون بها مشاكل في التوافق عند إستخدامها مع إصدارات حديثة من ووردبريس.

Template List Metabox

الوصف

This plugin will allow you to select custom posts types for which you want to show metabox of template list dropdown menu.

On the front end, this plugin will help to show selected template for the post.

Now you can choose to have different templates for each post just like pages.

Made by 010Pixel

Use

Before using this plugin, you should have some templates ready to be used.

  1. Go to Plugins > Template List Metabox. You will be able to see all the custom post types including Post.
  2. Tick all the checkbox for the post types for which you want to enable template list metabox.
  3. Create a post and choose the template you would like to use.
  4. If you do not want to choose custom template then select Default Template. Choosing Default Template will show content from single.php, single-{$object->post_type}.php, single-{$object->post_type}-{$object->post_name}.php

For any query, you can contact me at 010 Pixel

لقطات الشاشة

  • Settings in WordPress to choose Custom Post Types
  • Sample Template List Metabox

التنصيب

  1. Unpack the download-package
  2. Upload folder include all files to the /wp-content/plugins/ directory. The final directory tree should look like /wp-content/plugins/010pixel-template-list-metabox/010pixel_tmplt_list_metabox.php
  3. Activate the plugin through the Plugins menu in WordPress
  4. Administrator can go to Plugins > Template List Metabox menu and configure the plugin (Type of Posts/Custom Posts where you want to show Template List Metabox)
  • or use the automatic install via backend of WordPress

الأسئلة المتكررّة

Installation Instructions
  1. Unpack the download-package
  2. Upload folder include all files to the /wp-content/plugins/ directory. The final directory tree should look like /wp-content/plugins/010pixel-template-list-metabox/010pixel_tmplt_list_metabox.php
  3. Activate the plugin through the Plugins menu in WordPress
  4. Administrator can go to Plugins > Template List Metabox menu and configure the plugin (Type of Posts/Custom Posts where you want to show Template List Metabox)
  • or use the automatic install via backend of WordPress
How to choose which Custom Post Types can have the template list metabox?

Go to Plugins > Template List Metabox. You will be able to see all the custom post types including Post.
Tick the custom post type for which you want to show template list metabox and click Submit. You are done!

How to select custom template for post?

Enable Template List Metabox by following the method shown above and you will be able to see template list metabox when you create a post.
This will list all the templates from your theme.
Just choose the template which you want to show for a particular post and the post will have that template attached to it.

What if I just want to show the template of single.php or single-{custom-post-type}.php?

Select ‘Default Template’ and save the post.

I am not able to see the metabox and the post is not selecting custom template on front end, what to do?

Check if the plugin is Deactivated.
Check if the post-type of the post -you are trying to attach template to- might not be selected in Plugin > Template List Metabox page.

المراجعات

3 سبتمبر، 2016
Surprised to find a plugin without any ratings or reviews that does exactly what I need - allow me to select a full width template for one of my posts.
إقرأ جميع المراجعات 1

المساهمون والمطوّرون

“Template List Metabox” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.

المساهمون

ترجمة ”Template List Metabox“ إلى لغتك.

مُهتم بالتطوير؟

تصفّح الشفرة، تحقق من مستودع SVN، أو الاشتراك في سجل التطوير بواسطة RSS.

سجل التغييرات

v1.0.0

  • Initial release.

v1.1.0

  • Date: 2015-02-13
  • Removed bug of settings link not displaying in plugin list
  • Added setting page under Settings menu instead of Plugins menu

v1.1.1

  • Date: 2015-02-16
  • Removed bug of settings link showing error page

v1.1.2

  • Date: 2015-08-31
  • Removed bug of showing error when no item is selected for custom template list metabox

v1.1.3

  • Date: 2018-08-02
  • Tested with latest version