• I am having an issue with the way my pages and posts show up in my title bar. My home page shows up correctly. However, each other page shows up without a space or dash, etc.

    For example if the site is Home Page everything else shows up as AboutHome Page or Name of PostHome Page.

    I have searched the forums and cannot figure this out. I have tried to edit the coding but this didn’t help. I did have an em dash appearing nicely between the post page title and the site title, but the problem was that the em dash also appeared on the home page title and in search results, etc. So I removed it. If anyone can help, I would be so grateful. This is the code I THINK goes along with my situation. I found it in the header.php file. I am using the Twenty Ten theme. Also, my description doesn’t show up, but I can live with that if I must!

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

    [Please post code snippets between backticks or use the code button.]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘title bar error for pages and posts’ is closed to new replies.