awesomemotive / EDD-Digital-Store

Digital Store WordPress Theme for Easy Digital Downloads
http://easydigitaldownloads.com/digital-store/
GNU General Public License v2.0
26 stars 12 forks source link

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

Open amdrew opened 11 years ago

amdrew commented 11 years ago

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

pippinsplugins commented 11 years ago

The second is correct.

SeanTOSCD commented 8 years ago

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