![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hello,
I'm still on Lifestyle 3.0 and encountered some trouble trying to do some SEO for my website, particularly replacing the original title code: <title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' :'; } ?> <?php bloginfo('name'); ?></title> with this code: <title><?php if (is_home () ) { bloginfo(’name’); } elseif ( is_category() ) {single_cat_title(); echo ” – “; bloginfo(’name’);} elseif (is_single() || is_page() ) {single_post_title();} elseif (is_search() ) {bloginfo(’name’); echo ” search results: “; echo wp_specialchars($s);} else { wp_title(”,true); }?></title> By simply cutting and pasting the code noted above, I get this error message: Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/galvaniz/public_html/cheapdateideas.ca/wp-content/themes/lifestyle_30/header.php on line 11 Can anyone help shed some light on this? without I'm trying to follow the SEO advice of Neil Patel from this article http://www.quicksprout.com/2009/02/0...earch-engines/ Is there any way you guys can automatically build in these SEO tactics into newer iterations of Studiopress themes like the Thesis theme over at CopyBlogger? Thanks |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Lifestyle theme activated, Genesis theme is showing | ksteinbock | General Discussion | 2 | 04-27-2010 08:16 PM |
| Church Theme and Lifestyle Theme | ph1470 | General Discussion | 1 | 09-18-2009 12:47 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