Skip Navigation

[Resolved] Standard blog information is still visible on the individual pages

This thread is resolved. Here is a description of the problem and solution.

Problem: I have created a Content Template for a custom post type, but the standard post metadata like post title, featured image thumbnail, author, date and social media information are still displayed above my design.

Solution: If your site's theme includes this information outside of the_content(), Toolset does not have the ability to control them. Usually a custom PHP template or custom CSS code is required to remove those items, unless, like Divi, the theme provides theme options for templates to control these items.

Relevant Documentation:
https://toolset.com/documentation/getting-started-with-toolset/create-templates-to-display-custom-posts/
https://toolset.com/documentation/user-guides/templates/theme-support-for-content-templates/

This support ticket is created 4 years, 7 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.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by lucasD-4 4 years, 7 months ago.

Assisted by: Christian Cox.

Author
Posts
#1584097

I have created a template for the single pages for my custom post type. But unfortunately the standard blog with the page title, thumbnail, "Posted at...", "0 Likes" etc. is still displayed above the design I created. Do I still have to set somewhere that only the fields I created are displayed on the page?

#1584401

Hello, Toolset templates hook into the process during a WordPress function called the_content(), so if your theme includes that information outside of the_content then a Toolset template won't be able to manage it. Some themes like Divi provide theme options to disable individual pieces of information, like the title, date, or author name, at the template level. You would see those theme options in the template editor screen. Other themes don't provide these options, so custom code or CSS is required to turn those elements off. If you show me your site in a browser, I might be able to provide a custom CSS solution for you.

#1584817

Hello, thank you very much for the quick response. I have understood the problem and now I have reduced the single.php template so that it only outputs the_header, the_content and the_footer. The rest I edit with CSS. This works very well for me.