Support » Themes and Templates » Remove blog name from title tag

  • Hi Guys,

    I am bit confused with my post title tag. Below is the original title code.
    <title><?php wp_title(''); ?><?php if(wp_title(' ', false)) { echo ' | '; } ?><?php bloginfo('name'); ?></title>

    Right now the title tag of the post shows up like “Title of the post | Blog Name” which i want to change it back to only “Title of the post” but whenevr i remove
    <?php if(wp_title(' ', false)) { echo ' | '; } ?><?php bloginfo('name'); ?> the blog name does not appear in Home page. I don’t want to include “Blog” name with title tag in posts.

    If there is any solution please do let me know.

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Remove blog name from title tag’ is closed to new replies.