How To Modify Titles In Wordpress

Discussion in 'WordPress' started by Skinny, Apr 22, 2006.

  1. #1
    Okay, I think in the header file you can modify how the titles appear.

    Right now my home page display: Gazotto
    And my post pages display: Gazotto > Name of Post

    If I want to Modify this so that home page is: Gazotto - Gadget Blog
    and my post pages are: Name of Post.

    How do I do that?

    Skinny
     
    Skinny, Apr 22, 2006 IP
  2. bradyb

    bradyb Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You should be able to try something like this:

    <title><?php if ( is_home() ) { bloginfo('name'); ?> - Gadget Blog <?php } ?> <?php if ( is_single() ) { wp_title(''); } ?></title>
    Code (markup):
     
    bradyb, Apr 22, 2006 IP
  3. cpucandy

    cpucandy Peon

    Messages:
    489
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Skinny, you may also want to do a search for "wordpress seo". You will come across a couple of sites that go over what changes should be made for SEO.

    I just rebuilt my computer and don't have my bookmarks, I would have sent them to you.
     
    cpucandy, Apr 22, 2006 IP