0

I know I can use templates for my custom post types like this: http://codex.wordpress.org/Post_Types#Template_Files

But I would like to have a dropdown menu to choose a template, like that when you create a new page.

How can i get that on the edit page of my custom post type? I expected it to be here https://codex.wordpress.org/Function_Reference/register_post_type#supports But unfortunately it's not.

1
0

I don't think we can do that as a page in Wordpress, but I have another idea..

You can add a new taxonomy for your posttype template, like categories, then create a custom field for your posttype, (do the metabox) to show templates.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.