Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #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.



    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.


    Thanks Dude.

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