Works for me. I got rid of headache how to have access to custom templates alike having access to custom pages
Just added this nice plugin and works great. I now have 2 templates to choose from for my custom post type.
Thanks so much!
I remembered this gem from years ago and took the time to deploy it on a new Divi site I developed, where the GIANT FEATURED IMAGE was driving me crazy. ERGO, I easily created a template by modifying single.php in my child theme folder, activated this plugin and VOILA! It works.
Useful to tie down a custom-post-template to a post.
Exactly what it's supposed to do. Things to keep in mind:
1) Follow the description to create proper templates
2) Read the other notes to properly link up your custom post types or the templates won't show up! (They should really move this into the description or some where more obvious)
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!
You must log in to submit a review. You can also log in or register using the form near the top of this page.