How to add the Post Date to wp_get_archives

by: Music47ell
151 Words / 1 Minutes

I was interested in adding the post date in my archive page specifically to wp_get_archives. It’s something a lot of people have like Shawn Blanc & John Gruber’s site the Daring Fireball. Surprisingly it took me 3 days to add it to my site, i wasn’t able to do it manually ((I’m not that good with CSS Codes)), but instead i found a plugin that does the exact thing that i want, and it’s easy to use.

First of all you have to create your archive.php page, which can be done easily by following the steps on this page.

After that all you have to do is download the plugin from here ((because for some reason the download link on the website doesn’t work)) And replace this:

wp_get_archives('type=postbypost')

With this

if (function_exists('ard_get_archives')) ard_get_archives();

And you are good to go, for more customization just see how to do that on Ardamis’s site