Simple question: How to display the year of an archive?
-
I’m looking for something like:
<?php echo single_cat_title(); ?>
But the above is to display the category. What is the piece of code to display the year? Forgive me if this has already been covered but I searched the codex but couldn’t find it.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Simple question: How to display the year of an archive?’ is closed to new replies.