• Ive noticed in my page and in the demo that whatever is specified as the site title displays twice instead of just once. For example on your demo the site title in my page tab on my browser displays: “i-create|Just another WordPress Sitei-create | Just another WordPress Site. Is there something i can do to fix this?

Viewing 1 replies (of 1 total)
  • Theme Author marsian

    (@marsian)

    Yes, that is a bug. i will fix that in next version.

    you comment/delete the following functions from functions.php till the next version is released

    function iexcel_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', 'i-excel' ), max( $paged, $page ) );
    
    	return $title;
    }
    add_filter( 'wp_title', 'iexcel_wp_title', 10, 2 );
Viewing 1 replies (of 1 total)
  • The topic ‘Double Site Title’ is closed to new replies.