My WP Theme Showing Same Title on Every Page When Navigating The Site

Discussion in 'WordPress' started by freelance deziner, Apr 26, 2012.

  1. #1
    Hi,

    Please take a look at the title of my site www.dailyinspire.me - its saying "Daily Source of Inspiration"

    Now go to second page here http://www.dailyinspire.me/page/2

    It's URL is changed but the title remains same.

    How can I make changes so that it should say something like "Daily Source of Inspiration - Page 2"?

    Any help?
     
    freelance deziner, Apr 26, 2012 IP
  2. kiramanic

    kiramanic Peon

    Messages:
    205
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The easiest way is probably just to copy how TwentyTen does it.

    Open up the header.php from each theme. You'll see between the <title></title> tags TwentyTen has some PHP checking which page you're on and displaying the title accordingly, if you cut and paste that inside your own <title> tags you should be set.
     
    kiramanic, Apr 26, 2012 IP
  3. mmedia

    mmedia Guest

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    any seo plugin should help you with this
     
    mmedia, Apr 29, 2012 IP
  4. ColorVila

    ColorVila Greenhorn

    Messages:
    55
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    18
    #4
    Why you want to change the Site Title?
    It should be always the same at all the pages.
     
    ColorVila, May 3, 2012 IP
  5. 5Twenty

    5Twenty Peon

    Messages:
    79
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    The site title should not always be the same. It needs to be specific to the page content and the site as a whole. Typically your format should be "page title - website name"

    You can do this buy editing the header.php file in your template folder. You have a lot of different options for customizing this the way you want it. Follow these directions in the WP Codex to get exactly what you want: http://codex.wordpress.org/Function_Reference/wp_title

    If you can't figure that header.php file out yourself, try using a seo plugin like Yoast SEO. If your theme has been designed correctly you will be able to manage page titles directly from the admin area instead of the template files. However this is not always the case as some developers forget to put the WP hook in place to allow for this.
     
    5Twenty, May 4, 2012 IP