1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How do i Remove » from my title

Discussion in 'PHP' started by arnel555, Mar 4, 2010.

  1. #1
    i have this anything thing in my titles

    »

    it's 2 arrows pointing to the ring

    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <title><?php wp_title(); ?></title>

    what should i change
    any help would be good

    also using headSpace
     
    arnel555, Mar 4, 2010 IP
  2. Nyu

    Nyu Peon

    Messages:
    79
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Just insert an additional parameter for the wp_title function to change the seperator. You can find some more info about the function at the Wordpress Codex pages: wp_title
     
    Nyu, Mar 4, 2010 IP
  3. nishugoyal

    nishugoyal Peon

    Messages:
    63
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    like Nyu said Change your code like this ..

    <?php wp_title('--'); ?>
    Code (markup):
    to get -- instead of <<
     
    nishugoyal, Mar 4, 2010 IP
  4. arnel555

    arnel555 Peon

    Messages:
    129
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    i used
    <title>
    <?php wp_title('--',true,'right'); ?>
    <?php bloginfo('name'); ?>
    </title>
    i got rid of the » at least but i get a - at the end of the post well at least it's better now
    dose it hurt me in google having a - or dose it not matter.
     
    arnel555, Mar 4, 2010 IP
  5. HivelocityDD

    HivelocityDD Peon

    Messages:
    179
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I am not sure this will work or not but as a suggestion could you try some thing like

    
    <?php wp_title(' ',true,'right'); ?>
    
    PHP:
     
    HivelocityDD, Mar 4, 2010 IP
  6. joebert

    joebert Well-Known Member

    Messages:
    2,150
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    145
    #6
    It's not worth worrying about. Google concerns itself with words and phrases.
     
    joebert, Mar 4, 2010 IP