WordPress.org

Support

Support » Themes and Templates » Remove Pipe from Title on Search?

Remove Pipe from Title on Search?

  • bettyboo93
    Member

    @bettyboo93

    Hello,
    whenever I type my blog titles in on google at the end of a title there is a pipe symbol – I can’t find it anywhere else on my blog just on the search title. Is there any way I can remove this?
    Any CSS codes I can use?
    http://www.bettyvintage.com is the site
    I have a twenty eleven child theme also.

    thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Andrew Nevins
    Forum moderator

    @anevins

    Can you give an example of what to type into Google?

    bettyboo93
    Member

    @bettyboo93

    if you type in ‘paris pharmacy haul’ my link should be on the first page!
    Thank you

    bettyboo93
    Member

    @bettyboo93

    I don’t know if that’s just on the UK google though

    Andrew Nevins
    Forum moderator

    @anevins

    It’s in your webpage’s <title> elements http://snag.gy/3ieh2.jpg .
    Try disabling plugins to explore whether the problem could be related to them.

    bettyboo93
    Member

    @bettyboo93

    I only have 4 plugins,
    Jetpack, A font editing plugin, Advanced Code editor and Child theme and just tried disabling them all and none have made a difference. Is it just a case of messing around with the settings on each plugin to see if it makes a difference?
    Thanks

    paulwpxp
    Font hero

    @paulwp

    That pipe is from logic used in wp_title() in header.php of TwentyEleven (and many others) it takes for granted that the site will always has a Site Title AND a Tagline ( which will be used in title tag too ).

    Your site doesn’t have Tagline.

    Why not ? just go to the setting page and enter something ( keywords ) relevants to the site, the Tagline or is also useful for search engine, there is no benefit on missing out on this one.

    In addition to that, there are bugs (or whatever you call it) in wp_title() and is in process of improving, see these tickets

    Add a better option for <title> tags
    http://core.trac.wordpress.org/ticket/18548

    Do not prefix wp_title() with spaces if $sep is empty
    http://core.trac.wordpress.org/ticket/19674

    bettyboo93
    Member

    @bettyboo93

    oh that’s brilliant thanks, it makes sense to have a tagline I was just not sure why it was doing that.
    Thank you for your help

    🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Remove Pipe from Title on Search?’ is closed to new replies.