Template list metabox is to create Metabox for Dropdown List of all available Templates to attach with any Custom Post Types
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
Before using this plugin, you should have some templates ready to be used.
Plugins
> Template List Metabox
. You will be able to see all the custom post types including Post
.Default Template
. Choosing Default Template
will show content from single.php, single-{$object->post_type}.php, single-{$object->post_type}-{$object->post_name}.phpFor any query, you can contact me at 010 Pixel
/wp-content/plugins/
directory. The final directory tree should look like /wp-content/plugins/010pixel-template-list-metabox/010pixel_tmplt_list_metabox.php
Plugins
menu in WordPressPlugins
> Template List Metabox
menu and configure the plugin (Type of Posts/Custom Posts where you want to show Template List Metabox)/wp-content/plugins/
directory. The final directory tree should look like /wp-content/plugins/010pixel-template-list-metabox/010pixel_tmplt_list_metabox.php
Plugins
menu in WordPressPlugins
> Template List Metabox
menu and configure the plugin (Type of Posts/Custom Posts where you want to show 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!
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.
Select ‘Default Template’ and save the post.
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.