Change the Globally

If you want to add something to the <title>, without adding to the blog title, you can directly change that with a few lines of code:

add_filter( 'wp_title', 'append_to_title', 10, 3 );
function append_to_title( $title, $sep, $seplocation ) {
	return $title .= "OMGBBQFTW $sep ";
}

Leave a Reply

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

%d bloggers like this: