WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/header.php

    r15391 r15195  
    1616    /*
    1717     * Print the <title> tag based on what is being viewed.
     18     * We filter the output of wp_title() a bit -- see
     19     * twentyten_filter_wp_title() in functions.php.
    1820     */
    19     global $page, $paged;
    20 
    2121    wp_title( '|', true, 'right' );
    22 
    23     // Add the blog name.
    24     bloginfo( 'name' );
    25 
    26     // Add the blog description for the home/front page.
    27     $site_description = get_bloginfo( 'description', 'display' );
    28     if ( $site_description && ( is_home() || is_front_page() ) )
    29         echo " | $site_description";
    30 
    31     // Add a page number if necessary:
    32     if ( $paged >= 2 || $page >= 2 )
    33         echo ' | ' . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) );
    3422
    3523    ?></title>
Note: See TracChangeset for help on using the changeset viewer.