Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] WordPress Double Title?

  • This topic is empty.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #31188
    chrisburton
    Participant

    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?

    #67006
    gno
    Member

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

    #67008
    gno
    Member

    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.

    #67009
    gno
    Member

    Actually, this would be more correct:

    <?php wp_title('|', true, 'right'); bloginfo('name'); ?>
    #67013
    clokey2k
    Participant

    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!

    #98446
    junkajuju
    Member

    Yoast SEO got me with this too

    #101806
    ukando
    Member

    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!

    #136105
    lisapatb
    Member

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

    #136109
    chrisburton
    Participant

    @lisapatb Are you using an SEO plugins?

Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘CSS’ is closed to new topics and replies.