• Resolved jarekjanuszewski

    (@jarekjanuszewski)


    This is very neat plugin however I have noticed my site title is doubled on a single post & pages. Everything seems to be OK, I use default settings and previews in the editor are good.
    On the homepage, title is ok, on any post page is doubled.

    This seems to be some theme incompatibility.

    Latest WP + Expositio theme used.

    Any ideas?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author WP Simple SEO

    (@wpsimpleseo)

    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.

    Thread Starter jarekjanuszewski

    (@jarekjanuszewski)

    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 ??

    Plugin Author WP Simple SEO

    (@wpsimpleseo)

    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');

    Thread Starter jarekjanuszewski

    (@jarekjanuszewski)

    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,

    Plugin Author WP Simple SEO

    (@wpsimpleseo)

    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');

    Plugin Author WP Simple SEO

    (@wpsimpleseo)

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