• Hi,

    I have one blog with multiple sub blogs, a multisite.
    The main blog is titled For The Restless,
    and since I am using the sub blogs as pages I want them to display the same website title.

    However if I change the name in the general settings, I loose all possibility of being able to see the difference between the different blogs on the dashboard.

    So, I would like to embed the title in the header.php file.
    At least I think the header.php file is the place to alter this.

    Anybody know how to do this ? Currently it’s like this:

    <title><?php
    	/*
    	 * Print the <title> tag based on what is being viewed.
    	 */
    	global $page, $paged;
    
    	wp_title( '|', true, 'right' );
    
    	// Add the blog name.
    	bloginfo( 'name' );
    
    	// Add the blog description for the home/front page.
    	$site_description = get_bloginfo( 'description', 'display' );
    	if ( $site_description && ( is_home() || is_front_page() ) )
    		echo " | $site_description";
    
    	// Add a page number if necessary:
    	if ( $paged >= 2 || $page >= 2 )
    		echo ' | ' . sprintf( __( 'Page %s', 'twentyeleven' ), max( $paged, $page ) );
    
    	?></title>

The topic ‘One title for all blogs, embedded in header ?’ is closed to new replies.