I am trying to get the wordpress default option [Template] to show up in my custom post types. This option is seen on the default Page and Post.
How do i enable the [Template] option on the Quick Edit and on the CPT page itself?
Pls see screenshot (in red outline).
Hello Yap,
I’m Mohammed: the Toolset support team leader. I’ll give my best to help you to achieve your needs through Toolset components.
I can't see the "Template" option in my installation.It should be generated by the theme.
I've tried some themes but I couldn't show it.
So, at first, please try the following:
- Go to Toolset > Post Type and edit the post type
- Scroll down to the "Sections to display when editing" section and look for the "Template" option and enable it then save the post.
If this didn't help, I may need a copy of your theme to test the issue on.
If so, please upload the theme to an uploading platform like Google Drive and share the download link with me in the next private reply.
Private reply means that only me and you can see and access it.
Thanks.
Hi Yap,
Thank you for providing the theme archive. I'm now able to see the issue and I think that it's a compatibility issue between Types and Divi.
I'm going to escalate this ticket to the second tier so that it get the time to be checked fixed if possible.
Please wait and I will get back to you again once I get any updates.
Thanks.
Hi Yap,
I'm sorry, i was a bit confused.
This can't be achieved because the template is meant only for the page post type.
Please check this documentation of add_post_type_support which register the post type:
https://codex.wordpress.org/Function_Reference/add_post_type_support
In the parameters section, you will find the following:
'page-attributes' (template and menu order) (hierarchical must be true) (the page template selector is only available for the page post type)
Which means that the template can be added only for pages.
Anyway, we have a feature request opened in our internal queues for this.
Please follow the changelog page of Types here: https://toolset.com/download/toolset-types/#changelog to know the newly added features to Types when a new version comes.
Thanks.
hi Mohammed,
To reconfirm, the Page Template Option can only be strictly used under the default WP Page post type?
So even if i create a cpt with page attributes, i still cant use the Page Template Option?
Additionally u mentioned
we have a feature request opened in our internal queues for this
Since is a feature request, am i right to assume there's no certainty it will be implemented.
Thanks
Hi Yap,
Yes, exactly.
So, I will suggest to the development team to add a hint for the users so that they will be notified when they use the page attributes with CPT or implement the feature request.
Thanks.