Look for this line in that theme’s header.php:
<title><?php if (is_single() || is_page() || is_archive()) { wp_title('',true); } else { bloginfo('name'); echo(' — '); bloginfo('description'); } ?></title>
Remove echo(' — '); bloginfo('description'); so it becomes:
<title><?php if (is_single() || is_page() || is_archive()) { wp_title('',true); } else { bloginfo('name'); } ?></title>
Thread Starter
jrick
(@jrick)
Thanks Kafkaesqui! That worked.
May I ask a follow-up?
Is it possible to add the name of the post to the page title, so that the front page remains as it is but when viewing an individual post, the name becomes “No Straw Men: [Post Title]”?
Similarly, is it possible to do this when viewing all posts within a given month, all posts within a categorie, and all posts within a tag?
Thanks so much!
If we didn’t allow follow-ups on topics, there’d be a lot less activity in the forums. (Perhaps a good thing? ;) )
You could whittle down your <title> element so it appears like so:
<title><?php bloginfo('name'); ?><?php wp_title(': '); ?></title>
With this your blog’s name is always displayed, while on single posts or Pages, category and dated archives, etc. it’ll append the title of that particular page, e.g.:
No Straw Men (home page)
No Straw Men : Title of Post (single post)
No Straw Men : Category Name (category query)
No Straw Men : 2007 : December (monthly archive query)