section and everything up till
* * @package WordPress * @subpackage Twenty_Ten * @since Twenty Ten 1.0 */ ?> > <?php // Returns the title based on what is being viewed if ( is_single() ) { // single posts single_post_title(); echo ' | '; bloginfo( 'name' ); // The home page or, if using a static front page, the blog posts page. } elseif ( is_home() || is_front_page() ) { bloginfo( 'name' ); if( get_bloginfo( 'description' ) ) echo ' | ' ; bloginfo( 'description' ); twentyten_the_page_number(); } elseif ( is_page() ) { // WordPress Pages single_post_title( '' ); echo ' | '; bloginfo( 'name' ); } elseif ( is_search() ) { // Search results printf( __( 'Search results for %s', 'twentyten' ), '"'.get_search_query().'"' ); twentyten_the_page_number(); echo ' | '; bloginfo( 'name' ); } elseif ( is_404() ) { // 404 (Not Found) _e( 'Not Found', 'twentyten' ); echo ' | '; bloginfo( 'name' ); } else { // Otherwise: wp_title( '' ); echo ' | '; bloginfo( 'name' ); twentyten_the_page_number(); } ?> * tag of your theme, or you will break many plugins, which * generally use this hook to add elements to such * as styles, scripts, and meta tags. */ wp_head(); ?> >