Quantcast
Channel: WordPress.org Forums » [Yoast SEO] Support
Viewing all articles
Browse latest Browse all 41909

gokulphp on "[Plugin: WordPress SEO by Yoast] Site title and Page title are not separated - Why?"

$
0
0

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;

}

[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

remove this lines from your function file... Problem fixed


Viewing all articles
Browse latest Browse all 41909

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>