Problem:
The client wanted to hide the post title and breadcrumbs only for a specific custom post type (member-profile) while using legacy Toolset Layouts and Views. Content Templates could not be used for this purpose because the site had not migrated to Blocks.
Solution:
Hide the elements using CSS targeted specifically to the single post type body class. Adding the following CSS removes the title and breadcrumbs only from that post type without affecting others:
body.single-local-user-profile h1.page-title,
body.single-local-user-profile .kleo_framework.breadcrumb {
display: none;
}The CSS was added in WordPress Dashboard → Appearance → Customize → Additional CSS.
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.
This topic contains 5 replies, has 1 voice.
Last updated by 1 day, 22 hours ago.
Assisted by: Christopher Amirian.