[Solved] WordPress Double Title?
# January 8, 2011 at 4:36 pm
The title of my website is showing twice on every page except my homepage and blog page.
If I go in the admin panel and take out the Site Title, it just shows something like this
” Portfolio | “
but if I put it back in it shows
” PortfolioChristopher Burton | Christopher Burton “
Any Idea?# January 8, 2011 at 5:34 pm
Hehe, Hardcode of course… :-)
Well, it was pretty obvious aswell, but the first thing I could think of. Can you link your title tag from your template file?
This should give the result you want;
< ?php wp_title();?> | < ?php bloginfo('name'); ?>
It uses the Blog name from your settings page (which would be Christopher Burton, if im not completely off) and the title of the page you are viewing at. When using the above code, you should not write “|” in your title on the page.# January 8, 2011 at 5:43 pm
This reply has been reported for inappropriate content.
Nope doesn’t work. Still shows twice. Also, I didn’t write in ” | “, it’s the default wordpress title. If you check the source code, it shows up twice but my wordpress title code is the default one.
You must be logged in to reply to this topic.