I need to know how to add a span tag to a post title. What I need to accomplish is to have the first word of each title be a different color then the remaining words. I know it’s possible as it is accomplished on this blog.
or for generally all titles (this will add the span around the first word in any title, such as post titles, page titles, and the_title is also used for instance in page lists) –
add something like this to functions.php of your theme: