I think this question has been asked a thousand time, with the issue usually being an SEO plugin, but I have no plugins. My site says:
Site Title:Home
I don't want a colon(:) or "home" after the title.
I am having the issue on two sites.
I think this question has been asked a thousand time, with the issue usually being an SEO plugin, but I have no plugins. My site says:
Site Title:Home
I don't want a colon(:) or "home" after the title.
I am having the issue on two sites.
Your theme gives the title of the pages and apparantly the index is called "home". I don't know if you can delete that from your header.php without removing the titles of every other page too.
Hello,
You can do:
if(is_home()) {
bloginfo('name');
} else {
bloginfo('name'); wp_title(':', true, 'left');
}
Hope this helps.
daveredfern - which php file is that in? I placed it in the <title></title> tags on header.php and no dice. Thanks, btw.
Have you set the homepage as a page rather than the default listing? I looks that way, is_home() doesn't play nice with that so you can do the following in the header.php template file:
<title>
<?php
bloginfo('name');
if(!is_front_page()) {
echo ' ';
wp_title(':', true, 'left');
}
?>
</title>
Hope this works for you.
Dave.
This topic has been closed to new replies.