This plugin enables custom post types directly to add page templates of the page type.
Contrary to previous comments by Drew Jaynes, this plugin appears to allow post meta to work still on the front end in the testing I have done.
No complaints here!
Different as custom post type template in that you don't need to create cpt templates, just use the page templates.
I was so happy to find this, and even happier that it worked so easily and so well. Excellent plugin - many thanks to the developer.
I tried the other popular Custom Post Template plugin but had to go through various loops to create a custom template for posts. I wanted a full width template for my Twenty Twelve theme.
With 20-12 there's already a full width template and I don't need to re-create it and then copy it to another directory. Well I tried that and thought there must be an easier way.
And I found this plugin. Easy as pie. It just add the page templates to posts. You just need to go to Settings and activate where you want it. I did not do this initially as I thought I will see the options while creating a post.
Now that I have set the settings it shows for each post and I can choose a template. Love it. Just did what I wanted with no loops.
Thanks buddy. You did a great job.
Easy to enable in Posts or Custom posts, very lightweight, multi-language ready. Works great with the custom theme I'm creating.
Some caveats acording to @DrewJaynes but couldn't find them myself.
Great plugin in 150 lines of code. Kudos to the author.
Lets hope new versions of WP bring this functionality built in.
I'm glad to see a more straightforward approach than what you get with the Custom Post Template plugin. However, I immediately noticed that in certain situations, this renders post properties inaccessible including post meta.
is_singular( 'your_pt' ) also returns false because the post_type is effectively being changed to 'page' when you're pushed over to displaying the page template(s). None of these things are surprising, however, just kind of what you get when you mess with the template stack :)
You must log in to submit a review. You can also log in or register using the form near the top of this page.