Hi @dantianhealth ,
SEO Framework creates the title meta tag differently from the normal way WordPress and SEO plugins do: while others show the title as [Title] – [Site title], it shows only [Title].
If that’s really what you need, then you can use this snippet to make it work the old way:
add_filter( 'document_title_parts', function( $title_parts ) {
unset( $title_parts['site'] );
} );
But I’d recommend keeping the Site title in the title. It makes everything consistent with how WordPress handles the title.
-
This reply was modified 5 years, 8 months ago by
Anh Tran.
You have missed my point.
When I am running an import from SEO Framework there is an error. If a custom title has not been set then it imports “- [Site title]”, setting this as the title meta tag for the post. This means that for every post / page that has not had a custom title set I have to manually go in and edit the metatag so it doesn’t read “- [Site title]”.
When the post previously had a custom title set, the import works fine.
Oh, I see. Let us check that again and fix it.
Thanks for your feedback!
Hi @dantianhealth ,
We have fixed this in the latest version. Thanks a lot for your help.