I’ve been looking all over for some way to make my sidebar archives chronological. At the moment they are reverse chronological. Eldest post near the bottom of the screen and most recent at the top. I’d like it to be reversed so that the oldest post is at the top and the newest is at the bottom.
So far I’ve got this in the sidebar.php file
<!-- START ARCHIVES -->
<?php wp_get_archives('type=postbypost') ?>
<!-- END ARCHIVES -->
Try as I might, I can’t figure how to get them to reverse the order in which they display. I’ve read heaps of confusing posts here in the forum, which mostly seemed to be asking something else. I read the support page on
wp_get_archiveswhere it said you can make it alphabetical, but it didn’t say how, so there was no way for me to go “ok, ill need to do ‘this’ to make it chronological”. Any help which can offer a reasonable solution to my simple request would be very, very appreciated. Thankyou in advance.
- The topic ‘Chronological sidebar archives’ is closed to new replies.