Yearly drop-downs for archives?
-
I learned how to put all my archives in one drop-down menu by using this code from this thread —
<form name="archiveform" action="">
<select name="archive" onchange="window.open(document.forms.archiveform.archive[document.forms.archiveform.archive.selectedIndex].value);">
<?php get_archives('monthly','','option'); ?>
</select>
</form>
What I’d like to do instead is tweak this so that I can show each year in its own drop-down menu. In other words, under the heading “Archives,” there would be a menu with “Browse 2005” showing in the box, and the months listed beneath, then another menu for 2004, and one for 2003, etc.
Is there a way to do this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Yearly drop-downs for archives?’ is closed to new replies.