Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #653961

    Hi, i have the same problem as described in this thread:

    Link

    when I check the option “Display only breadcrumbs”, the title is gone but it leaves an empty h1 behind.

    Ismael stated:

    Should be added on the next update.
    
    Best regards,
    Ismael

    So when will this be fixed? As far as i kn ow it influences SEO

    • This topic was modified 8 years, 4 months ago by j0schi.
    #655224

    Hey j0schi,

    Please add following code to Functions.php file of your child theme 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;
    }

    Best regards,
    Yigit

    #655360

    HI Yigit, will try this, thanks :)

    #655364

    Hi,

    You are welcome! Please do so and let us know. We have reminded our devs regarding empty H1 :)

    Best regards,
    Yigit

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