Put classes around the posted on date?
-
Hello
I have a question I’ve been wondering over for a long time.
In the default twentyten template the posted on date is displayed using this code:
%2$s
This is great because the client can then change the date format through the UI. But I would like to style the date and would need classes around each part of the date.
Something like:
<time class="month">April</time><time class="day">02</time><time class="year">2011</time>
I can easily do this by hard coding the date format but I would like the client to still be able to change the format.
Does someone know if this is possible?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Put classes around the posted on date?’ is closed to new replies.