Support » Plugin: GDPR Cookie Consent (CCPA Ready) » Change Titel-Tag H1 to H3

  • Resolved tom077

    (@tom077)


    Hello,

    I need to change the titel-tag (Privacy Overview) form H1 to H4, because I dont whant to have multiple H1 on my page. Where and how I change this?

    Thanks for help.

Viewing 11 replies - 1 through 11 (of 11 total)
  • +1, where can I find and change H1 for Privacy Overview?

    You can find it in:
    wp-content/plugins/cookie-law-info/public/views/cookie-law-info_popup_content.php

    Line 23 change from:

    echo "<h1>".$overview_title."</h1>";

    to:

    echo "<h4>".$overview_title."</h4>";

    Thank you @herbstzeitlos
    i find where change H1 tag but how we can if the plugin is updated?

    Thank you
    Maurizio

    Hi Maurizio,
    you are right! If GDPR Cookie Consent team dont’ fix it. We all get it back next update.
    But pretty sure they already now this wrong title-tag.

    greets

    I’ve just made this change to the plugin file. Hoping the plugin authors can make this change in the next update

    Plugin Author webtoffee

    (@webtoffee)

    Hi @tom077, @dalibord,

    We previously had the title tag in H4 and we changed it to H1 as per requests from multiple users. Anyways we will include a custom filter to alter it in the coming release and provide a code snippet for the same so that users have the option to set the tag according to choice without losing the changes on update.

    That would be great! Thank you.

    Thank you so much for this!

    In the short term just remove the heading text and place it in the body. No need to mess with the php file.

    But yea please change the heading type – why anyone would ask for this to be the H1 is beyond me! Surprised you guys just changed it without considering the SEO impact.

    If you’re updating it please don’t make the default H1.

    • This reply was modified 9 months, 1 week ago by Marky-Mark.
    ujoshi333

    (@ujoshi333)

    Yes so Set the Default to H4 on your update, not H1 ! that violates SEO in the terms of creating multiple H1’s. Whoever advised you previously to change to H1 should be SHOT!!

    Plugin Author webtoffee

    (@webtoffee)

    Hi everyone,

    We have reverted back the changes and defaulted the tag to H4. We have also included a hook using which you can customize the tag as per your SEO requirement.

    Apologies for all your troubles.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Change Titel-Tag H1 to H3’ is closed to new replies.