Wordpress <title> - how to make it better? Like Shawn's :D

Discussion in 'WordPress' started by Dekker, Dec 24, 2005.

  1. #1
    I really like how shawn has his title's set up there isn't that annoying >> thing and the blog name is at the end, and it doesn't show up at all at the single post.

    does anyone know how to do this? i don't know PHP and made an attempt to but it just ran up some errors :(
     
    Dekker, Dec 24, 2005 IP
  2. tflight

    tflight Peon

    Messages:
    617
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'm not sure how Shawn did it, but here is how I have done it:
    <title><?php wp_title(' '); ?><?php if(wp_title(' ', false)) { echo ' - '; } ?> <?php bloginfo('name'); ?></title>
    PHP:
     
    tflight, Dec 24, 2005 IP
  3. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks, does that go into the header template file?
     
    Dekker, Dec 24, 2005 IP
  4. tflight

    tflight Peon

    Messages:
    617
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    0
    #4
    depends on which template you are using, but ordinarily yes.
     
    tflight, Dec 24, 2005 IP