Hi,
In WP Simple SEO > Meta > Post Types, change the Title to:
{post_title} |
Expositio will automatically append the site title to the end of this, which resolves the double site title.
Thanks.
Thanks. Well, it is a solution but when I use a separator, there is no space after it:
post title |page title instead of: post title | page title
Added spaces seems to be ignored 🙁
You’d need to raise that with the Theme Author – we can’t control how they further manipulate the title.
Alternatively, feel free to disable the Theme’s filter that alters the Title programmatically:
remove_filter('wp_title', 'expositio_wp_title');
Thanks for your input, but suggested solution did not work, and to be honest, no idea why. It led me however to proceed an investigation and I have found the fix.
In the theme’s function.php go to line 263, where is the variable assignment:
$title .= get_bloginfo('name');
You may notice here .= concatenating assignment operator, which appends site name to the $title variable. Just comment that line and that’s all, problem is gone.
Now you can use WP Simple SEO along with the Expositio theme with no issues 🙂
Cheers,
Noted, however it is not advisable to make direct changes to a third party Theme or Plugin; these changes will be overwritten on a Theme update.
Adding remove_filter('wp_title', 'expositio_wp_title'); to your own Plugin snippet will resolve and ensure this persists across Theme updates.
where to add this code ?
remove_filter('wp_title', 'expositio_wp_title');