Skip Navigation

[Resolved] Duplicate title on content template with Divi theme

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

Problem:

I am using the Divi post title module to display the post title. Under "Divi settings for this Content Template" I have disabled the post title.

But I got Two post titles.

Solution:

It is a known issue, here is a CSS workaround, see details here:

https://toolset.com/forums/topic/duplicate-title-on-content-template-with-divi-theme/#post-1240673

Relevant Documentation:

This support ticket is created 5 years, 6 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by jesseH-3 5 years, 6 months ago.

Assisted by: Luo Yang.

Author
Posts
#1240635

I am trying to: create a content template using the Divi builder. I am using the Divi post title module to display the post title. Under "Divi settings for this Content Template" I have disabled the post title.

Link to a page where the issue can be seen: hidden link (note that the issue is currently hidden, as described below)

I expected to see: The post title (via the Divi post title module).

Instead, I got: Two post titles.

I found this thread: https://toolset.com/forums/topic/cpt-page-title-wont-go-away-divi/
Based on that information, I duplicated single-et_pb_layout.php to single-product.php, which solves the problem of the duplicate title. But, this solution isn't sustainable as it will be overwritten when the theme is updated. (The site does not use a child theme.)

Just wondering if I'm missing something obvious with how this integration between Toolset and Divi should work. The thread I linked to has outdated information (refers to the Divi integration plugin, which I assume is no longer available?). Thanks in advance for your help.

#1240673

Hello,

It is a known issue, see errata here:
https://toolset.com/errata/the-post-title-theme-setting-in-content-templates-is-not-working-for-the-divi-theme/

Here is a workaround:
Views content template works only in post content area, and the option disabled "Post Title" Under "Divi settings for this Content Template" will output an inline CSS codes:

.entry-title{
  display: none;
}

In your case, it is single product post, please try this:
Dashboard-> Divi-> Theme Customizer-> Additional CSS
add below CSS codes:

.single-product .entry-title{
  display: none;
}

And test again.

And it is recommended to use child theme instead of original parent theme, see wordpress document:
https://developer.wordpress.org/themes/advanced-topics/child-themes/

For the question:
The thread I linked to has outdated information ...
Yes, that thread is talking about Toolset layouts plugin, and the Divi integration plugin is retired,

#1241218

Thank you for your helpful reply. I am glad to see it is a known issue and that there weren't additional integration steps needed to integrate with Divi.
I didn't create the site, and it was created without a child theme. So I think hiding the duplicate title with CSS is a good solution for now, until maybe I switch to using a child theme at a later date.
Thanks!