Wordpress Title Customization Help !

Discussion in 'HTML & Website Design' started by geeks4share, Mar 3, 2011.

  1. #1
    In my wordpress blog home page the title is "Geeks4share"
    When we are inside a post the title become "POST TITLE -GEEKS4SHARE"
    for eg. If were are inside the post with title "how to earn money" then the title will be like "how to earn money - geeks4share"
    I don't want "geeks4share" here....

    This is the coding of my header.php file
    Any Help?

    Thanks In Advance
     
    geeks4share, Mar 3, 2011 IP
  2. buzenko

    buzenko Peon

    Messages:
    93
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    <title>
    <?php wp_title(''); ?>
    <?php if(wp_title('', false)) { echo ' ';} ?>
    </title>
    HTML:
    For seo better SEO Title Tag plugin.
     
    buzenko, Mar 3, 2011 IP
  3. geeks4share

    geeks4share Active Member

    Messages:
    314
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    73
    #3
    I used this code..... now the title in Home page is none...it's blank
    but i wanted it to be "Geeks4share" for home page alone !!
     
    geeks4share, Mar 3, 2011 IP
  4. buzenko

    buzenko Peon

    Messages:
    93
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Delete this

    <title>
    <?php wp_title(''); ?>
    <?php if(wp_title('', false)) { echo ' -'; } ?>
    <?php bloginfo('name'); ?>
    </title>
    HTML:
    Paste this

    <?php if ( is_front_page()) { ?><title><?php bloginfo('name'); ?></title><?php }
    
    else { ?><title><?php wp_title (''); ?></title><?php } ?>
    HTML:
    This code.
    On the home page title your blog name the other page is not.
    Function bloginfo('name') show "Geeks4share"
     
    Last edited: Mar 3, 2011
    buzenko, Mar 3, 2011 IP
  5. geeks4share

    geeks4share Active Member

    Messages:
    314
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    73
    #5
    This worked :D
     
    geeks4share, Mar 3, 2011 IP