Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
DChiuch Posted October 16, 2018 Posted October 16, 2018 Does anyone know where the code that makes page titles "{page} - {site name}" is? Is it a PHP function somewhere or is there a language string? I would like to change the "-" to another symbol.
bfarber Posted October 16, 2018 Posted October 16, 2018 \IPS\Output::buildMetaTags() /* Add the site name to the title */ if( \IPS\Settings::i()->board_name ) { $this->title .= ' - ' . \IPS\Settings::i()->board_name; } Any other dashes would be set in userland code elsewhere. Your best option, perhaps, would be to do a replacement on the character somewhere central just before it is output (i.e. at the end of this method).
Recommended Posts
Archived
This topic is now archived and is closed to further replies.