Here’s is what I read from Codex:
If you are using a custom homepage with custom loops and stuff, you
will have an emptywp_title
. Here goes a neat hack to add the
description/tagline at thewp_title
place on homepage:
<title><?php bloginfo('name'); ?> | <?php is_front_page() ? bloginfo('description') : wp_title(''); ?></title>
So use is_front_page()
to get the title on homepage, the way it is suggested in above code.