Installed 1.1.5. version on WordPress 3.3.1. but I am confuse with the title settings on my header.php. I notice repetitive titles in some pages, example:
Title is showing as:
<title> Marina District – Downtown San Diego Real Estate | Condos & Lofts – San Diego Real Estate </title>
Instead of showing:
<title> Marina District – Downtown San Diego Real Estate | Condos & Lofts</title>
which is what I have on ‘SEO Title’ under the page edit (‘Snippet Preview’ shows the same).
Do I need to change my title on my header.php to <title><?php wp_title(”); ?></title> when I currently have :
<title>
<?php if (function_exists(‘is_tag’) && is_tag()) {
single_tag_title(‘Tag Archive for “‘); echo ‘” – ‘;
} elseif (is_archive()) {
wp_title(”); echo ‘ Archive – ‘;
} elseif (is_search()) {
echo ‘Search for “‘.wp_specialchars($s).'” – ‘;
} elseif (!(is_404()) && (is_single()) || (is_page())) {
wp_title(”); echo ‘ – ‘;
} elseif (is_404()) {
echo ‘Not Found – ‘;
}
if (is_home()) {
bloginfo(‘name’); echo ‘ – ‘; bloginfo(‘description’);
} else {
bloginfo(‘name’);
} if ($paged > 1)
{ echo ‘ – page ‘. $paged;
} ?>
</title>
Any assistance will be greatly appreciated.