[Resolved] Templates does not show up in normal post.
This support ticket is created 5 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Link to a page where the issue can be seen: any page
I expected to see: some CTF-Fields
Instead, I got: normal post content
In the overview of the Toolset Dashboard there shows up a hint (instead of the template used):
"In der Template-Datei Ihres Themes single.php für die Anzeige von Beitrag Elementen fehlen benutzerdefinierte Felder."
Do you have any hint why toolset is not working? Know issues with TagDic-theme "Newspaper"?
The message in the dashboard appears when you have not assigned a Content Template to the post type and so the theme's single.php will be used (and this is unlikely to output custom fields you create with Toolset or any other plugin unless you explicitly edited the PHP file).
If you create a Content Template and assign it to a post type, but when you visit posts on the front end the template is not used, that is likely because the theme does not use the standard WordPress way of outputting the post content (namely the function the_content).
In that case, if the theme uses a custom function to output the post content, it may be possible to register that custom function so that Views Content Templates can still replace the content.
I googled around and found some hints that the Newspaper theme from TagDiv is using its own function to display post content. Just registering was not doing the job - when I also deactivated "Layouts" my assigned templates etc. showed up again.
If I get it right - the theme form TagDiv is not compatible with "Layouts". If you do not need it, it works - if needed you have to change to another theme!
I just wanted to say that Views includes the theme compatibility settings for Content Templates, but the same is not available for Layouts, so you may be able to use the theme with Views templates okay, even though you cannot with Layouts.
I will do so! I am glad that I found out why CPT information did not show up anymore - after I changed the theme. As long as all the rest of Toolset does work, it is fine for me. Unfortunately it took a while to find out what is the problem. Now we can head on - adding functionality and user experience to our website. The recommended themes on your website are not so many and so stunning. So, to have the compatibility settings at hand, is worth a lot!
Apart of that, Toolset is a super important tool set for WordPress publishers!
Luckily it is only a relatively small number of themes affected, specifically those which use non-standard techniques for displaying post content. Even then, it is possible to create a child theme if needs be and edit the PHP templates directly to replace the custom method with the standard WordPress method, though that can mean the loss of some theme functionality on such pages.