Why are these symbols >> showing up in my page titles?

Discussion in 'WordPress' started by tradingstocks, Sep 9, 2010.

  1. #1
    I can't figure out why symbols are showing up in my page titles. Before every page, I'm getting these: >>

    I've looked in my header.php file, and I don't see the entity for this symbol. Where else should I look? Here's a snippet from my header.php:

    <title> <?php wp_title(); ?> <?php bloginfo('name'); ?></title>

    Got any thoughts??

    You can see this in action by going to tradingstocks.me and clicking one of the articles to get the permalink page. The >> does not show up on the homepage, which is even more bizarre in my mind...
     
    tradingstocks, Sep 9, 2010 IP
  2. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #2
    &raquo; is the default character returned by the wp_title function when no separator is specified.

    Try this:
    <title><?php wp_title('-',true,'right'); ?><?php bloginfo('name'); ?></title>
     
    Cash Nebula, Sep 10, 2010 IP
  3. tradingstocks

    tradingstocks Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Cash! You're the man. That worked like a charm. I had no idea that was built into the title function. Thanks so much!
     
    tradingstocks, Sep 10, 2010 IP