h1 tag is printed twice (once from my theme and once from my page builder)

I have the following problem that might cause some minor-to-heavy SEO damage:

The h1 tag of each webpage is printed twice (once from my theme and once from my page builder).

Each time I create a webpage I give it a name twice: Once in WordPress edit mode and once in page builder (Elementor) edit mode. Both names are usually identical.

I fear this might cause somewhat SEO damage due to duplication (source mode — CTRL+U shows two h1 tags).

Thus I need a way to eliminate the original h1 WordPress prints.

What I’ve tried and didn’t help:

I’ve added .entry-title {display: none}.

My question

What is the most correct way to do so without changing any existing PHP, if there is any?

Read more here:: h1 tag is printed twice (once from my theme and once from my page builder)

Leave a Reply

Your email address will not be published. Required fields are marked *