I am using wordpress the_date() function to get the post date ,
and it returns me
<h2 class="the_date>Friday, August 12, 2011</h2>
What I need is to have the friday to be caps without effecting other words aka FRIDAY, August 12, 2011.
Can this be done with jQuery or javascript ?
In your WordPress theme, you could use
instead of
the_date()to get your desired output.Update
jQuery solution if you wish to go that route:
HTML
jQuery
jsFiddle demo: http://jsfiddle.net/tcA4y/
Updated jsFiddle demo: http://jsfiddle.net/tcA4y/1/