Provides a drop-down to select different templates for posts from the post edit screen. The templates replace single.php for the specified post.
How do you use this plugin with a child theme? It works fine if you use the main theme, but using a child theme I encounter errors.
This plugin saved me a lot of headache.
And with a little extra scripting it works with ACF for targeting templates!
Link to the github:
Link to the github
Now if only we could get it to work with subdirectories. THAT would make it perfect in every way.
Sometimes I really don't get why things aren't in the core. How is this not much more important then 'post formats' or 'the customizer' ???
Thank you so much.
It took a small bit to get used to, but it DOES WORK, and very well!
Sure, it would be nice, if there were a tutorial. A tutorial is the only thing this is lacking. But once you figure it out, it does exactly what you need!
In short, you need to create a new file called single-newname.php where "newname" is the name of the template. Then you can use that template as desired. I used another plugin called Advanced Custom Fields to work in conjunction with this plugin to create custom fields to use on the custom post templates. Then I program the custom fields into the custom post template (single-newname.php).
So yes, it may not be easy for a WordPress newbie. But if you are a WordPress newbie and don't know how to program, then you should be hiring a developer to do this anyways. Stop hoping for a magical no-coding-needed way to customize your WordPress! You think developers work for free??
Anyhow AWESOME plugin and very easy to use! Thank you!
Perfect ! It has a hook to handle custom post types, since by default it only works with
please teach me for use the code i'm search how to use this plugin but i not understand .
please tell me for use this code, i'm use Enigma theme .
After all these years still works perfectly for me.
I'd already implemented Custom Post Types - once I found the note in the "developers" tab everything worked perfectly.
It's very work and easy to use.
It works with posts but how can I make it work with custom post type?
I have a custom post type named "portfolio" but template works only with post not with porfolio.
Give me an answer.
You must log in to submit a review. You can also log in or register using the form near the top of this page.