This topic contains 5 replies, has 3 voices, and was last updated by StartupWP 5 years, 11 months ago.
- AuthorPosts
- December 30, 2012 at 6:37 AM #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:
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!
December 30, 2012 at 11:24 AM #359Are 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.
December 31, 2012 at 12:59 AM #371Indeed 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!
December 31, 2012 at 11:42 AM #375All 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:
May 3, 2013 at 6:07 AM #736check 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
May 3, 2013 at 10:51 AM #738That’s the Twenty Twelve theme and likely doesn’t match Startup/StartupPro exactly.
- AuthorPosts
You must be logged in to reply to this topic.