Grow your CSS skills. Land your dream job.

[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?

    gno
    # January 8, 2011 at 5:01 pm

    Did you hardcore part of your title tag in your template?

    # January 8, 2011 at 5:06 pm

    Hardcore? or hardcode? Assuming you meant hardcode, no. That was the first basic step I took to troubleshoot.

    gno
    # 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;

    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.

    gno
    # January 8, 2011 at 5:37 pm

    Actually, this would be more correct:

    # January 8, 2011 at 5:43 pm

    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.

    LINK HERE

    # January 8, 2011 at 5:46 pm

    SEO Plugin was the cause.

    # January 8, 2011 at 6:18 pm

    I was gonna call it!

    The Yoast SEO Plugin did this to me also.

    I’m only an hour out, that’ll teach me for eating out!

    # January 8, 2011 at 6:21 pm

    haha

    # March 7, 2012 at 9:55 pm

    Yoast SEO got me with this too

    # April 26, 2012 at 11:49 am

    How I fixed that.
    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!

    # May 22, 2013 at 7:18 pm

    I also have that same issue and that code hasn’t seemed to change it. Any thoughts? Thanks.

    # May 22, 2013 at 7:24 pm

    @lisapatb Are you using an SEO plugins?

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".