Automated Meta Titles for Tags (Wordpress)

Discussion in 'WordPress' started by sf85, Aug 15, 2007.

  1. #1
    Hi all - I'm sorry if this has been posted previously, but I am unable to find it.

    On my Wordpress blog, I modified my meta titles to show up perfect for new posts, pages and categories but for "Tags" alone, I get the following:

    blank space - [blog name]

    Here is what I have in my header.php file for syntax:
    <title>
    <?php wp_title(''); ?> - <?php bloginfo('name'); ?>
    </title>

    My question is how can I get my Tag pages to show keywords for the specific Tag within the title. So for example, if one of my tags is called "Sports Games" I would like my meta title to read:

    Sports Games - [blog name]

    Obviously I need it to do this without affecting my meta titles for my posts, pages and category pages. It sounds like an IF, ELSE statement within the meta title but I am not sure??

    Thanks so much for your help!

    Skip
     
    sf85, Aug 15, 2007 IP
  2. sf85

    sf85 Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    bump.

    Anyone?
     
    sf85, Aug 16, 2007 IP