Skip Navigation

[Resolved] content template disable elements not working

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

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 6 replies, has 2 voices.

Last updated by eliseD-2 5 years ago.

Assisted by: Nigel.

Author
Posts
#1383767

In the content template for one of my post types I have chosen to DISABLE the title using the DISABLE ELEMENTS section of the Theme Options in the template itself.

This USED to work - but has stopped working and now the title is displaying on the content template.

Here is a link to a sample of a page where this is happening:

hidden link

#1383839

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Elise

From your link it looks like you are using Divi (it is helpful when creating tickets to include the debug info for us to see basic details of your site: hidden link).

This is a known issue, we have an erratum that describes a CSS workaround here: https://toolset.com/errata/the-post-title-theme-setting-in-content-templates-is-not-working-for-the-divi-theme/

I'm adding your thread to the internal ticket about this so that the developers are aware of the number of people affected.

#1384445

I tried added the coding as shown in the thread you cited above - but nothing changed - the title (and author and date citation) are still showing up on my content template

#1385337

As suggested in the known issue link above, I added the following code to my content template in the CSS section:

.et_post_meta_wrapper { display: none;}

.entry-title{
    display: none;
} 

Yet still the title, author, and published date citations are showing when the content template displays, as you can see on this page:

hidden link

#1385605

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hmm. Maybe you are not using Divi after all, the markup on the front-end for the title doesn't correspond to what's suggested by that erratum.

Could I get access to your site to look for myself?

I'll mark your next reply as private to get credentials from you. Please ensure you have a current backup.

#1386635

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Thanks for that.

The single.php template has been edited in the child theme and the markup no longer corresponds to the standard Divi markup which is why the workaround doesn't hide the title, and the fix to the known issue will not work on this site in any case.

You can update the CSS like so to target the title and post-meta sections as output by your child theme:

.et_pb_post > h1, .et_pb_post > .post-meta {
    display: none;
}
#1387581

My issue is resolved now. Thank you!