Skip Navigation

[Resolved] Content template is showing page title and author. How can I remove them.

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

Problem: I have created a Content Template to display posts from a custom post type. I would like to manage the display of post title and post author of single posts.

Solution: Some themes provide Theme Options you can use with Content Templates to manage the display of these items. Some themes do not provide these options, though, and a CSS solution is usually available.

Relevant Documentation:
https://toolset.com/course-lesson/creating-templates-to-display-custom-posts/
https://toolset.com/course-lesson/using-toolset-with-divi/

This support ticket is created 3 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 6 replies, has 2 voices.

Last updated by jessicaM-4 3 years, 7 months ago.

Assisted by: Christian Cox.

Author
Posts
#2029873

Tell us what you are trying to do?
Create content template for map locations
Is there any documentation that you are following?
N/A
Is there a similar example that we can see?
hidden link
What is the link to your site?
hidden link

#2029981
Screen Shot 2021-04-22 at 10.52.22 AM.png

Hello, it looks like your site is using the Divi theme. In this case, you might be able to use Theme Options in the Content Template editor to disable specific elements like the post title. If the Theme Options are not working in your case, you can add the following CSS to your Content Template's CSS editor area:

.single-location .location > .et_post_meta_wrapper {
 display:none;
}

That should hide everything highlighted in the red area in the screenshot. Let me know if I've misunderstood what you want to accomplish here.

#2030207

Thank you so much. It did hide the page title but it looks like the content template is not taking up the full width of the page. Are you seeing this as well?

hidden link

#2030215

Hey Christian. Thank you so much. That did get rid of the page title but the content template does not seem to take up the entire width of the page. Are you also seeing that?

hidden link

#2030217

Sorry did not mean to post that twice.

#2030225
ct-legacy-editor.png
ct-block-editor.png

Have you tried adjusting the layout Theme Options for this Content Template? The Divi Theme Options for Content Templates can be found in the Content Template editor screen. Screenshots attached here showing the theme options in either the Block Editor or the legacy editor. The Theme Options editor section may be toggled closed, so you may need to click the panel title to toggle it open.

One option for layout is "Fullwidth". Another option, "boxed layout," can be either enabled or disabled. I would try the fullwidth layout first, and experiment with enabling or disabling the boxed layout option to see if some combination of settings produces the desired effect.

#2030521

My issue is resolved now. Thank you!