Customize the date for stacked Month, Day, Year layout?
-
Hello,
I’m customizing a blog and would like to have the date display in a box so that it is stacked like this:
JUL
07
08I cannot seem to figure out how to do this. I tried this:
<?php the_date(‘M’); ?>
<?php the_date(‘d’); ?>
<?php the_date(‘y’); ?>But it will only display the first one, Month.
Ideally, I’d like to just list them out in one call – <?php the_date(‘M d y’); ?> but somehow place spans between each one, so that I can style them in my CSS.
Any ideas?
Thank you!!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Customize the date for stacked Month, Day, Year layout?’ is closed to new replies.