Site logo

Archived topic

Insert/Edit link

5 replies · Started by marc on June 29, 2021

Viewing posts 1–6 of 6

hey guys,

I'm currently having an issue with a forum solution (asgaros). There are two h1 on every page and of course I'd like to remove the following one:
<h1 id="link-modal-title">Insert/Edit link</h1>

As the plugin author said, this is part of the wordpress editor and is a core component of it (apparently). See his message on this thread:
https://wordpress.org/support/topic/seo-hostilely-2/

Would there be a quick way to disable this h1 element using a disable element in generatepress or a php function using code snippet?

I know this a bit of a weird one! Thanks for the help.

Marc

Hi there,

can you share a link to the site where i can see the problem ?

Hey David,

Actually I can see that your forum has the same issue :D . It contains two H1s.

If you check any topic you'll get:

<H1>: [Support request] The support request title
<H1>: Insert/edit link

Any idea on how to resolve it?

Thanks David

Thats a core function of WP for using the editor on the front end - in our case its the BBPress Plugin using it for the Add Link Modal:

https://developer.wordpress.org/reference/classes/_wp_editors/wp_link_dialog/

And the H1 is baked into that function - doesn't look like there is any way of changing that.

If your concern is that an SEO checker is reporting 2 x H1's then i would ignore it.

Ok thanks David.

You're welcome

This archived topic is closed to new replies.