The-seo-framework: Extra separator / space overwriting manually set title tags

Created on 28 Jan 2017  路  2Comments  路  Source: sybrew/the-seo-framework

I'm a big fan of The SEO Framework and have used it on several sites in the past without issue. Unfortunately, I've run into a weird issue after an install today鈥攖itle tags have gone all wonky. All my manual title tag data was imported from Yoast 1.6 and looks totally normal inside the WP admin view on a single post.

My homepage has no title tag at all:
http://thebaffler.staging.wpengine.com/

On a number of posts, the manually set title tag is trimmed, then appended with a whitespace, pipe, and three more whitespace chars.
So, here: http://thebaffler.staging.wpengine.com/blog/chelsea-manning-existential-threat-madar

Custom blog title field contains this info:
"Chelsea Manning鈥檚 Existential Threat to American Innocence | Chase Madar"

...but it displays as:
<title>Chelsea Manning鈥檚 Existential Threat to American Innocence | Chase Mad | </title>

If the custom blog title is short enough, it's just appended with the extra separator and white space.
http://thebaffler.staging.wpengine.com/blog/drone-frost
<title>Office-Droned Out | Amber A&#8217;Lee Frost | </title>

Any idea what's gone wrong? Ideally there will be nothing鈥攏o blog title, no separator, etc, past the manually set custom blog title.

Most helpful comment

Hi @jamesfacts,

Awesome! Thanks :)

I'm afraid your site requires a title fix, it's delivered through an extension which is included for free in this plugin:
https://wordpress.org/plugins/the-seo-framework-extension-manager/

If that works, it's a theme issue; where the <title> tag is handled poorly.

If you're a developer, I'd suggest creating a child theme where you delete the manual title tag from the header.php file and inject the title-tag support through: add_theme_support( 'title-tag' ); in the child-theme's functions.php file.
If that's done, you can disable the title fix extension.
More info on this issue is found here: https://make.wordpress.org/core/2014/10/29/title-tags-in-4-1/

Best of luck 馃槃

All 2 comments

Hi @jamesfacts,

Awesome! Thanks :)

I'm afraid your site requires a title fix, it's delivered through an extension which is included for free in this plugin:
https://wordpress.org/plugins/the-seo-framework-extension-manager/

If that works, it's a theme issue; where the <title> tag is handled poorly.

If you're a developer, I'd suggest creating a child theme where you delete the manual title tag from the header.php file and inject the title-tag support through: add_theme_support( 'title-tag' ); in the child-theme's functions.php file.
If that's done, you can disable the title fix extension.
More info on this issue is found here: https://make.wordpress.org/core/2014/10/29/title-tags-in-4-1/

Best of luck 馃槃

You're a star. That did exactly the trick鈥攖hanks a million.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

9585999 picture 9585999  路  5Comments

themightyant picture themightyant  路  4Comments

sybrew picture sybrew  路  5Comments

samburgers picture samburgers  路  6Comments

nateonawalk picture nateonawalk  路  6Comments