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 "
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.
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.
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?
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;
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.
LINK HERE
The Yoast SEO Plugin did this to me also.
I'm only an hour out, that'll teach me for eating out!
Went to SEO > Titles in the Dashboard.
Found Page > Title templates (as I do have pages only on my website)
And inserted this, but without quotes "%%title%%-"
Good luck!