Get the Beauty of Your Webpages in Your Posts Too
If you want to implement the custom post templates on a custom post type, you can use the cpt_post_types filter, here's an example below of adding the custom post template selector and metabox to the Movie and Actor custom post types. This code can be added to a plugin or to the functions.php file in your theme.
Requires: 3.0 or higher
Compatible up to: 3.4.2
Last Updated: 3 years ago
Active Installs: 5,000+
Got something to say? Need help?