Support » Plugin: Slim SEO - Fast & Automated WordPress SEO Plugin » Remove site name from the post titles?

  • Resolved templederr



    How to remove or hide my blog name from every post title. For example, when Google indexes my post, I see – IMG Trend at the end. How to hide?


    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • How to automatically remove site name from Meta title? From all links sitewide.

    Plugin Author Anh Tran


    Hi @celebtemple,

    Yes, you can do that. Please add this snippet to your theme’s functions.php file (or use the Code Snippets plugin to add the code):

    add_filter( 'document_title_parts', function( $title ) {
        unset( $title['site'] );
        return $title;
    } );
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.