New Topic

Site title showing twice

Home › Forum › Help › Site title showing twice

This topic contains 5 replies, has 3 voices, and was last updated by  StartupWP 4 years, 6 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #356


    I am testing your theme for my site and have stumbled upon a problem. Every post or page shows up site title in browser twice.

    To be more precise here is the picture:

    Site title when on single post:

    Where it should be: Lorem Ipsum | Site

    Same happens when on page:

    Where it should be: About |Site

    However, when i go to start page or category archive, title shows like it is supposed to:

    Do you know what could be the problem? Thanks in advance!



    Are you perhaps using an SEO plugin?

    Either way, try deactivating all plugins anyways to see if there’s a conflict.

    If you can, please share the link to your site.



    Indeed it is. Plugin i use is All in one SEO pack. When disabled, title shows like it’s supposed to!

    I wonder what could be the cause.

    You’ve been very kind, thank you very much!



    All in One SEO Pack is a great plugin, we even recommend it.

    But, the themes already display SEO-friendly titles, no different than how the plugin would. So, in the plugin settings, simply disable title rewriting.

    Or, you might try the other highly popular SEO plugin:



    check your function.php file with following code function twentytwelve_wp_title( $title, $sep ) {

    global $paged, $page;

    if ( is_feed() )

    return $title;

    // Add the site name.

    $title .= get_bloginfo( ‘name’ );

    // Add the site description for the home/front page.

    $site_description = get_bloginfo( ‘description’, ‘display’ );

    if ( $site_description && ( is_home() || is_front_page() ) )

    $title = “$title $sep $site_description”;

    // Add a page number if necessary.

    if ( $paged >= 2 || $page >= 2 )

    $title = “$title $sep ” . sprintf( __( ‘Page %s’, ‘twentytwelve’ ), max( $paged, $page ) );

    return $title;


    remove this lines from your function file… Problem fixed



    That’s the Twenty Twelve theme and likely doesn’t match Startup/StartupPro exactly.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.