• Resolved cypmark

    (@cypmark)


    Hi,

    Just looking at an onpage seo audit (sorry can’t share the link yet) and I have an unwanted H1 tag coming from your plugin.

    Ok multiple H1 tags I believe are not such an issue these days but still I prefer to have just one.

    I found the culprit in the code below.

    Any idea how I can remove the tag?

    Thanks Danny

    _____

    <div class=”cli-privacy-overview”>
    <h1>Privacy Overview</h1>
    <div class=”cli-privacy-content”>
    <div class=”cli-privacy-content-text”>This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are as essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.</div>

    _____

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author WebToffee

    (@webtoffee)

    Hi @cypmark,

    We have defaulted the tag to H4 in the latest version(1.8.5). Please update the plugin in your site.

    Hi @webtoffee,

    i have the same problem. Switching to the h4 does not solve the problem either. Every website is structured differently and therefore has different structures. On my website it ends for example: with the headline h2, i.e. when using the plugin I get an error under SEO aspects. Now I have changed it from <h4> to <p>. But this will be overwritten with the next update. It would be a better idea to change it from your side to <p>. It does not harm the design and you improve your plugin in terms of SEO significantly ??

    Best regards
    Heiko

    Plugin Author WebToffee

    (@webtoffee)

    Hi @hweiss,

    You may use below code snippet for your custom requirement.

    function wt_cli_add_html_wrapper($html, $begin, $end) {
    // wrap our original HTML with the new tags
    $begin = "<p>";
    $end = "</p>";
    $html = $begin . $html . $end;
    return $html;
    }
    add_filter('wt_cli_change_privacy_overview_title_tag', 'wt_cli_add_html_wrapper', 10, 3);

    Hi @webtoffee,

    wow, great ?? Thanks!

    Plugin Author WebToffee

    (@webtoffee)

    Hi @hweiss,

    Leave us a review if you like the plugin. Thanks.

    Hi,

    Where should we insert this form please?

    Hi @fincahome,

    the code must insert in the functions.php

    Best regards
    Heiko

    Perfect, it works very well.

    Thanks!
    Best regards

    EDIT: Just upgraded the plugin and it’s gone now! Disregard below ??

    I can see you’ve supplied code to remove this, but why is it there and with an H1 on? That seems like a bug?

    • This reply was modified 4 years, 4 months ago by delanthear.
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Privacy Overview H1 tag’ is closed to new replies.