Archive Listing (2 posts)

  1. shigg
    Posted 6 years ago #

    My monthly archive list is getting rather long (e.g. 3 years worth/ 36 months). This makes for a rather lengthy scroll to get to what is beneath it.

    Is there any way to show archives for the current year by month, and previous years just by the year listing?

    Thanks for any help.

  2. stvwlf
    Posted 6 years ago #

    Yes, you can do that by using two wp_get_archives directives. Another approach is to have the list be in a drop-down box. Then it takes up no room at all.

    See this page: http://codex.wordpress.org/Template_Tags/wp_get_archives

Topic Closed

This topic has been closed to new replies.

About this Topic