![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I've just come across a site that says you should do this
1. Change the default title What it looks like: < ?php bloginfo(’name’); ?> < ?php if ( is_single() ) { ?> » Blog Archive < ?php } ?> < ?php wp_title(); ?> What you should change it to: < ?php if (is_home () ) { bloginfo(’name’); echo ‘ - ‘; bloginfo(’description’); } 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); } ?> What does this do? It changes a title from looking like: WordPress Blog » Blog Archive » Post Title to Post Title Why is this important? SEs will rank the site higher for the actual post title. The thing is, I cant find the Code:
< ?php bloginfo(’name’); ?> < ?php if ( is_single() ) { ?> » Blog Archive < ?php } ?> < ?php wp_title(); ?>
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Update wordpress for Agent WordPress Theme 1.0 | abbybelladance | General Discussion | 1 | 10-13-2010 12:58 PM |
| Upgrade from WordPress 2.9.2 to WordPress 3.0 | johntaps | General Discussion | 3 | 06-21-2010 08:31 PM |
| WordPress 3.0 | argrone | General Discussion | 1 | 06-20-2010 12:37 PM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us