In Twenty Ten, remove the pipe separator from the title when there is no blog description. Props noel.
git-svn-id: https://develop.svn.wordpress.org/trunk@14281 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3be728e34b
commit
83f33b07ec
@ -19,7 +19,10 @@
|
||||
if ( is_single() ) {
|
||||
single_post_title(); echo ' | '; bloginfo( 'name' );
|
||||
} elseif ( is_home() || is_front_page() ) {
|
||||
bloginfo( 'name' ); echo ' | '; bloginfo( 'description' ); twentyten_the_page_number();
|
||||
bloginfo( 'name' );
|
||||
if( get_bloginfo( 'description' ) )
|
||||
echo ' | ' . bloginfo( 'description' );
|
||||
twentyten_the_page_number();
|
||||
} elseif ( is_page() ) {
|
||||
single_post_title( '' ); echo ' | '; bloginfo( 'name' );
|
||||
} elseif ( is_search() ) {
|
||||
|
Loading…
Reference in New Issue
Block a user