Tagged: ,

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

    where can I go change the site title for the pages?

    Currently my site display the site title as;

    SiteName | page name

    I want to get rid of “SiteName |” which precedes the page title/name. I’m using Yoast SEO and they also add the SiteName, and there is duplication.

    Thanks,

    #123651

    Add following code to functions.php (at the very bottom):

    add_filter('avf_title_tag', 'avia_change_title_tag', 10, 2);
    function avia_change_title_tag($title, $wptitle)
    {
    return $wptitle;
    }

    Enfold will then use the result of “wp_title()” and Yoast SEO hooks into this function to generate the seo optimized title.

    #123652

    Thanks Dude.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘SEO site title’ is closed to new replies.