Tell us what you are trying to do?
I don't want my default theme page.php template to be the base for my post-type. I have made a custom WordPress template (Presentation) that I want to be used with a specific post-type. I see that it is possible to make content templates but these does not allow me to change the template or make possible what I want to do. I want to use the Presentation template as the base for my post-type posts. Is there a way to do this?
Thanks so much 🙂
Hi there
The normal way to use a custom PHP template for the output of a custom post type is to name your PHP template according to the WordPress template hierarchy. See https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
So if you had a post type with a slug of portfolio, for example, then creating a single-portfolio.php template would ensure that is used to display your portfolio posts.
(Toolset templates let you design custom templates within the back end UI, but they only replace the part of the page normally output by the_content function in your theme template file.)
I will just use another solution then even though I would like this to work. Thanks for your help 🙂