• Resolved olGerva

    (@olgerva)


    Good morning guys
    I need to remove H5 from the plugin more precisely in the front end where it says Privacy & Cookie Policy H5 class=”cli_messagebar_head” for SEO reasons.
    Is this possible? How can I intervene.
    Thanks

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

    (@webtoffee)

    Hi @olgerva,

    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);
    Thread Starter olGerva

    (@olgerva)

    Thanks
    but it didn’t work, or I wasn’t able to do it ??

    I would like to change this line with this
    <h5 class="cli_messagebar_head">Privacy & Cookie Policy</h5>

    <p class="cli_messagebar_head">Privacy & Cookie Policy</p>

    • This reply was modified 4 years, 2 months ago by olGerva.
    • This reply was modified 4 years, 2 months ago by olGerva.
    Plugin Author WebToffee

    (@webtoffee)

    Hi @olgerva,

    There aren’t any filters in the plugin to modify the cookie heading tag. We can add one in the upcoming release.

    Thread Starter olGerva

    (@olgerva)

    thank you very much.
    would be nice

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove H5 from Policie’ is closed to new replies.