» in Wordpress Page titles

Status
Not open for further replies.

pfgannon

Sic semper tyrannis
Jun 25, 2006
3,224
55
0
37
Has anyone else had this issue with a » (double arrow) appearing in front of their page titles? Its no where in the <title> tags and I can't find the little bastard anywhere.

Any WP-pro's know where I can find it to get rid of it??


EDIT: I figured it out. For anyone else trying to figure it out edit you wp-includes\general-template.php and search for » It should be in the title prefix value.
 


Has anyone else had this issue with a » (double arrow) appearing in front of their page titles? Its no where in the <title> tags and I can't find the little bastard anywhere.

Any WP-pro's know where I can find it to get rid of it??


EDIT: I figured it out. For anyone else trying to figure it out edit you wp-includes\general-template.php and search for » It should be in the title prefix value.
Far easier way to do it -- use <?php wp_title(''); ?> (notice ' ' ) in your header.php.

It's BAD idea to hack the code the way you did it because then you will need to keep track of it and make the same change eveytime a new version of WP comes up.
 
Status
Not open for further replies.