Adding Page Attributes and Page Templates to Custom Post Type WP 4.7.3

Question

I have created a custom post type with capability => ‘page’. Why can I not or how do I add the Page Attributes/Page Templates meta box to the admin edit page?

Yeah, cheers Joe. I also found this out about 20 mins after posting the original question. So, as long as you have page_attributes on you simply allow your templates to be accessible by adding:
Template Post Type: new_post_type_name under Template Name: your_template_name in your custom template!

--------------------------------------------------

>>> Share a link to this question, just copy and paste the code bellow on your web page <<<

<a href="https://www.wptricks.com/question/adding-page-attributes-and-page-templates-to-custom-post-type-wp-4-7-3/">

Adding Page Attributes and Page Templates to Custom Post Type WP 4.7.3</a>
0
Harry Black 1 month 0 Answers 51 views 0

Leave an answer