Try looking at your themes header.php file and see what is between the <title></title> tags. The | is probably hard coded either between the title tags or in functions php.
Thread Starter
gooder
(@gooder)
Looked into that and found this code bellow, and I couldn’t see anything wrong:
<title><?php if (is_home()) {
echo bloginfo(‘name’);
} elseif (is_404()) {
echo ‘404 Not Found’;
} elseif (is_category()) {
echo wp_title(”);
} elseif (is_search()) {
echo ‘Search Results’;
} elseif ( is_day() || is_month() || is_year() ) {
echo bloginfo(‘name’);
echo ‘ |’;
echo ‘Archives:’;
echo ‘ |’;
echo wp_title(”);
} else {
echo wp_title(”);
echo ‘ |’;
echo bloginfo(‘name’);
}
?></title>
echo ' |';
echo 'Archives:';
echo ' |';
echo wp_title('');
} else {
echo wp_title('');
echo ' |';
Remove the echo ' |'; lines from the code you listed above.
Thread Starter
gooder
(@gooder)
Thanks c3mdigital but I still have the same problem after removing those bits of code.
Any other suggestions?
The code you listed above looks like it came from header.php try looking in functions.php for the hard coded | or it could even be in blog name under settings general.
If you post the contents of functions.php and header.php to http://wordpress.pastebin.com/ I will take a look and see if it is still lingering somewhere else.
Thread Starter
gooder
(@gooder)
There is nothing in header.php causing this. Try posting functions.php
Thread Starter
gooder
(@gooder)