• Hey guys I can find the bit of code where I can change the Header Status that appears up in th Browser – don`t want the name of my blog there with the ” > ” sign and the post title.

    how can I change it so that only the post title will appear ?

    Thanks a lot

Viewing 1 replies (of 1 total)
  • That can be done in your theme’s header.php file. Just look for the title declaration.

    For example, this is the code I sometimes use in themes:

    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>

    Yours will probably be different, but here is some code you can use:

    <title><?php if (is_home()) { bloginfo('name'); } else { wp_title(); } ?></title>

    When viewing the homepage, it will show the blog’s name. Otherwise, it will show the title of the page.

Viewing 1 replies (of 1 total)
  • The topic ‘Need To Change Header Status’ is closed to new replies.