Help with the_date vs. the_time
-
Hello again. *rolls eyes* One of these days I’m going to be done with my site and won’t be starting a thread a day. Anyways. Today’s hurdle: I’m trying to display the date on my site with a different class for each date value (the day in one size font, the month in another, the year in a third). I’m using multiple instances of
<?php the_date() ?>
, but its only calling the first value (in my case, the numerical day) without displaying the month or the year. So I tried using<?php the_time() ?>
, and now it’s displaying everything, but on every post. Is there a way to get<?php the_time() ?>
to behave like<?php the_date() ?>
and not display on every post? Thanks in advance for your help!
- The topic ‘Help with the_date vs. the_time’ is closed to new replies.