mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
In Twenty Ten, remove the pipe separator from the title when there is no blog description. Props noel.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
36876023a4
commit
6dfe0a43ac
@ -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