author

Page Title

2 months ago | rayge (Member) | |

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!

Read responses...

Responses

  1. John:

    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.

Home | Software | Terms & Conditions | Sitemap | John Godley © 2008