So I am new to WP. I have created my static pages and have the “Home” page going to the static page I created. But I cannot seem to get the title tag populated with the word home or anything else for that matter.
Here is some code :
<title><?php if (is_single() || is_page() || is_archive()) : ?><?php wp_title('',true); ?> | <?php bloginfo('name'); ?><?php else : ?><?php bloginfo('name'); ?> - <?php bloginfo('description'); ?><?php endif; ?></title>
This works for all the other pages and posts but not for the home page that I created. Do I need to physically add it in with an if/then statement?
- The topic ‘Title info for a home page’ is closed to new replies.