EDD-Digital-Store icon indicating copy to clipboard operation
EDD-Digital-Store copied to clipboard

double site title when any page is set to show as homepage

Open amdrew opened this issue 12 years ago • 2 comments

It seems that if any page is set to show as the homepage from settings > reading it doubles up on the site title.

To test, set any page to show as the homepage (I used the sample page). The result the following as the page title:

sitename sitename

One fix would be to change:

<title><?php bloginfo( 'name' ); ?> <?php wp_title(); ?></title>

to something like this (without the parameters if you choose to)

<title><?php wp_title( '|', true, 'right' ); ?></title>

in header.php.

As per this ticket: https://easydigitaldownloads.com/support/topic/site-title-repeating-in-links-url/#post-91241

amdrew avatar Sep 04 '13 23:09 amdrew

The second is correct.

pippinsplugins avatar Sep 05 '13 14:09 pippinsplugins

https://make.wordpress.org/core/2015/10/20/document-title-in-4-4/

SeanChDavis avatar Nov 04 '15 05:11 SeanChDavis