Site logo

[Resolved] Insert/Edit link

Home Forums Support [Resolved] Insert/Edit link

Home Forums Support Insert/Edit link

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1838424
    marc

    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

    #1838524
    David
    Staff
    Customer Support

    Hi there,

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

    #1838546
    marc

    Hey David,

    Actually I can see that your forum has the same issue 😀 . 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

    #1838582
    David
    Staff
    Customer Support

    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.

    #1838628
    marc

    Ok thanks David.

    #1839533
    David
    Staff
    Customer Support

    You’re welcome

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.