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 5 years, 11 months ago.

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

    skoosha
    Participant

    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:

    http://dl.dropbox.com/u/28935114/title1.PNG

    Site title when on single post:

    Where it should be: Lorem Ipsum | Site

    Same happens when on page:

    http://dl.dropbox.com/u/28935114/title2.PNG

    Where it should be: About |Site

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

    http://dl.dropbox.com/u/28935114/title3.PNG

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

    #359

    StartupWP
    Keymaster

    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.

    #371

    skoosha
    Participant

    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!

    #375

    StartupWP
    Keymaster

    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:

    http://wordpress.org/extend/plugins/wordpress-seo/

    #736

    gopi
    Participant

    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

    #738

    StartupWP
    Keymaster

    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.