Skip Navigation

[Resolved] Remove default post items in the custom post type's page (Total theme)

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

Assisted by: Christian Cox.

Author
Posts
#1862745

Tell us what you are trying to do?
I want to create a template to display a custom post page, the problem is that I can't delete the default items like post title and featured image that already exist in the default posts created by WordPress.
I'm using Total theme and it can't detect the custom post type created by toolset

Is there any documentation that you are following?
https://toolset.com/course-lesson/creating-templates-to-display-custom-posts/?utm_source=plugin&utm_medium=gui&utm_campaign=blocks

Is there a similar example that we can see?

What is the link to your site?

#1862917

Hi, Toolset's Content Templates normally affect the main content area of a post, not other elements controlled by the theme like the post title or featured image. Some popular themes offer integration with template settings that will allow you to enable or disable theme-specific elements on a per template basis, but Total is not one of those compatible themes. In themes that do not offer integrated theme settings per template, you have two options:
1. Create a custom PHP template for the custom post type following your theme's documentation and the WordPress Template Hierarchy documentation. Remove any undesired elements from the PHP template to prevent those items from being included on the front-end of the site. This requires knowledge of PHP programming.
2. Use custom CSS to hide the undesired elements without the need for custom PHP development. I might be able to offer some assistance here if you provide the URL of one of the custom posts on the front-end of your site. I'll take a look and see if it's simple to hide those elements with some simple CSS code.

#1864597

My issue is resolved now. Thank you!