How to get the blog title to be page title in wordpress?

Discussion in 'WordPress' started by stock_post, Apr 25, 2007.

  1. #1
    Not sure if this question go in Programming or Bloging!

    Please move the thread to the appropriate secition please.


    How to get the blog title to be page title in wordpress?

    www.discussre.com


    When I am on this page
    http://www.discussre.com/australian-mortgage-tips/
    Iike to see Mortgage Tips as part of the title.

    Any help will get you a good back link or a Green Rep

    Thanks
     
    stock_post, Apr 25, 2007 IP
  2. poing

    poing Active Member

    Messages:
    101
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #2
    I wonder why there's 2 TITLE tag in your header.php
     
    poing, Apr 25, 2007 IP
  3. MTbiker

    MTbiker Well-Known Member

    Messages:
    2,536
    Likes Received:
    123
    Best Answers:
    0
    Trophy Points:
    170
    #3
    Try this code in your header.php file:

    
    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
    
    PHP:
     
    MTbiker, Apr 26, 2007 IP
  4. kevinn

    kevinn Active Member

    Messages:
    1,337
    Likes Received:
    84
    Best Answers:
    0
    Trophy Points:
    90
    #4
    Theres also a title plugin if you're interested. Just check the WP website.
     
    kevinn, Apr 26, 2007 IP
  5. sir_round

    sir_round Active Member

    Messages:
    205
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    58
    #5
    Yep. U can use WP's optimal title plugin. Sure helps.
     
    sir_round, Apr 27, 2007 IP