Urban Giraffe Support | HeadSpace
Page Title
I switched from all in one seo to headspace and now my homepage page title isnt showing up.
It worked fine in the all in one seo plugin. any ideas?
This is the code currently in my template for page titles.
<title><?php if (is_home () ) { bloginfo('name'); }
elseif ( is_category() ) { single_cat_title(); echo ' - ' ; bloginfo('name'); }
elseif (is_single() ) { single_post_title();}
elseif (is_page() ) { single_post_title();}
else { wp_title('',true); } ?></title>
THANKS!
Responses
Posted 2 months ago by Key Master
That isn't using the wp_title function to display the title. Change it to:
<title><?php wp_title (); ?></title>
Reply
You must log in to post.