Change <title> in header
-
For my homepage, or whatever page you are on, it always “my sites page at my site”. e.g. “I like apples at apple review” THere is always the “at”?
here is the code for the title in my header. I want to make it seo friendly with the actual title of the page I’m on. Any ideas?
<title><?php wp_title(''); if (function_exists('is_tag') and is_tag()) { ?>Tag Archive for <?php echo $tag; } if (is_archive()) { ?> archive<?php } elseif (is_search()) { ?> Search for <?php echo $s; } if ( !(is_404()) and (is_search()) or (is_single()) or (is_page()) or (function_exists('is_tag') and is_tag()) or (is_archive()) ) { ?> at <?php } ?> <?php bloginfo('name'); ?></title>
thank You
Jordan
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Change <title> in header’ is closed to new replies.