Add this to your functions.php file in your theme:
if ( ! is_admin(false) ) {
add_action('brentini_span_post_title');
function brentini_span_post_title($span_title) {
$span_title = preg_replace('/(^[A-z0-9_]+)\s/i', '<span>$1</span> ', $span_title);
return $span_title;
}
add_filter('the_title', 'brentini_span_post_title');
}
elseif ( ! is_admin(true) ) {
remove_filter('the_title', 'brentini_span_post_title');
}
The output on the interface, for example, will look like this:
<h2 class="entry-title"><a href="#"><span>Welcome</span> to Wordpress</a></h2>
But this will not affect the backend when viewing the message table.
And then you can create a style in your style.css style, for example, like this:
h2.entry-title span {color:#0531C2}
EDIT: , else frontend . , . , , !