Viewing 2 replies - 1 through 2 (of 2 total)
  • I use the following code for my blog:

    <title><?php if(is_home()) { echo ‘Web Stimulation | Search Engine Marketing | Optimization | Web Site Promotion Services’; } else { echo’Web Stimulation | ‘; } wp_title(”); ?></title>

    So, it displays the first part on the ‘home’ page and the ‘else’ part on all other pages (i.e The name of my site followed by the name of the post, page, category or whatever).

    Try it and see if it works for you.

    You can see it in action on my blog.

    Thread Starter temporaris

    (@temporaris)

    Super, so simple and nice!
    I was not aware of this “is_home” function,
    thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to display a separate TITLE for homepage?’ is closed to new replies.