WordPress – Change title separator from dash to pipe

Add to functions.php

/**
* Change title seperator from dash to pipe
*/

function wploop_change_separator()
{
return '|';
}
add_filter('document_title_separator', 'wploop_change_separator');

Leave a Reply

Your email address will not be published. Required fields are marked *