Support » Fixing WordPress » cleaning title for sigle post

  • hii

    like to know how to show the title for the blog when viewing single post , i need title to be post title only ,i get post title and blog Description

Viewing 3 replies - 1 through 3 (of 3 total)
  • You’ll need to change the title in your template file (probably header.php), and use something like:

    if (is_single()) { the_title(); } else { what you currently have }

    have updated my title some thing like this

    <title><?php wp_title(‘ ‘); ?><?php if(wp_title(‘ ‘, false)) { echo ‘ · ‘; } ?> xinfo – Online Latest Gadget Information </title>

    when i visit single post it show post title followed by home page title also i like to show only post title when viewing the single post

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘cleaning title for sigle post’ is closed to new replies.