Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #595889

    Hi.

    When editing my Frontpage, I find that changing my blog title, blog description (in customizer) or page title (on page edit screen) make no impact on the html <title> attribute.

    I did a little troubleshooting, and found that this line of code is changing it to “intoto systems”. Don’t know why.

    
    php/function-set-avia-frontend.php:
    if(!function_exists('avia_set_title_tag'))
    <snip>
           $title = apply_filters('avf_title_tag', $title, wp_title('', false));
    </snip>
        }
    }
    
    

    Can you help me figure out why this is happening, and how I might be able to prevent this from occurring? is it safe for me to simply comment out that line?

    Thanks,
    David

    • This topic was modified 8 years, 8 months ago by david-potter. Reason: edited code snippet to focus on the specific line that is altering the title
    #595923

    Found the answer to this:

    Yoast plugin contains a setting to override the title, and this line of code integrates with Yoast!

    For posterity, if you are having this problem, you can fix it like this:
    Edit Page > (choose page) > Yoast SEO > Snipped Editor > Edit Snippet > SEO Title

    Change the title to what you’d like.

    Mark this closed, please.

    #596690

    Hi,

    Great, glad you found the root of the problem and thanks for sharing!

    Best regards,
    Rikard

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Page title stuck’ is closed to new replies.