Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #694497

    Dear guys from Kriesi,

    I use pre installed construction demo theme.
    there is a problem with the h1. In the demo, you only use h2 and h3. If i take one h1 per url, Thats possible, but all of My seo tools Show 2 h1. If i use no h1 instead, My seo tools give one h1 but with no content. What can i do to get no conflict with google?
    Please help
    Regards dirk

    #694511

    Hi DTKK!

    Please add following code to Functions.php file in Appearance > Editor

    add_filter('avf_title_args', 'avia_remove_h1_hidden_title', 10, 2);
    function avia_remove_h1_hidden_title($args,$id)
    {
        $header_settings = avia_header_setting();
        if($header_settings['header_title_bar'] == 'breadcrumbs_only')
        {
            $args['html'] = "<div class='{class} title_container'><div class='container'>{additions}</div></div>";
        }
    
        return $args;
    }

    Regards,
    Yigit

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