-
pdyw7sjy4xpy4eqzParticipant
I’m using a static front page on my site with the posts on another site. This results in heavy problems with the -element. On the front page, title is missing completely, ending up with the browser just showing the url. On the news page, page title is followed by site title without any whitespace, for when it should display only the site title when viewing the home page and just the page title when viewing the posts page.
Fix please.
pdyw7sjy4xpy4eqzParticipantI now solved this by replacing the esplanade_doc_title function with the following simple code:
function esplanade_doc_title( $doc_title ) {
global $page, $paged;
$doc_title = str_replace( ' »', ':', $doc_title );
$site_name = get_bloginfo( 'name' );
$doc_title = $site_name . $doc_title;
if ( $paged >= 2 || $page >= 2 )
$doc_title .= ', ' . __( 'Page', 'esplanade' ) . ' ' . max( $paged, $page );
return $doc_title;
}
endif;Should definitely be an option to configure.
Tagged: esplanade title bug
You must be logged in to reply to this topic.