Re: Editing Group and Forum page title tags
Hey guys,
You need to replace the pipe character with ” &##124;” (without quotes).
[EDIT] Remove the second # character! I had to add it to this post because of the HTML character conversion.[/EDIT]
Replace this line:
$title = str_replace( ' | Groups', '', $title );
with:
$title = str_replace( ' &##124; Groups', '', $title );
Also right after that line, add the following to remove the word “Forum”:
$title = str_replace( ' &##124; Forum', '', $title );
—
*Edit – Pastebin link added:
http://pastebin.com/1zdN7C7K (August 24, 2010)