Remove the "»" (») character from WordPress titles.

by scseoer on 2011-07-14 15:25:27

How to Remove the "»" Character from WordPress Titles

1. Modify the Template File

In the template file, locate the function that calls the title, `wp_title()`, and modify it to `wp_title("")`.

2. Modify the Program File

Locate the file `wp-includes/general-template.php`. Open the file and find line 528, where you will see:

function wp_title($sep = '»', $display = true, $seplocation = '')

Delete the red string "»" in the code above.

(Note: It is generally not recommended to directly modify core WordPress files, as these changes may be overwritten during updates. Consider using a child theme or filters to achieve similar results.)