• Hello,

    I have a question – how to change type of heading tags (with logo inside)? I would like to set it to H2. Thank you for your help.

Viewing 1 replies (of 1 total)
  • Plugin Author Phil

    (@philsbury)

    Hi @okitala,

    You can do this with a filter. A simple one would be this in your functions.php:

    
    add_filter('age_gate_logo', function ($logo, $id) {
        return str_replace('h1', 'h2', $logo);
    }, 10, 2);
    

    You can of course change the H2 there to what ever you want.

    Thanks
    Phil

Viewing 1 replies (of 1 total)
  • The topic ‘How to change H1 (logo) to H2?’ is closed to new replies.