Support » Fixing WordPress » Can I display a yearly archive in the sidebar?

  • wp_get_archives('type=monthly');

    … displays a list of monthly archives in the sidebar. When I change it to:

    wp_get_archives('type=yearly');

    … nothing is displayed, even though the blog in question has lots of posts from 2006 and 2007.

    Am I missing something?

Viewing 1 replies (of 1 total)
  • That doesn’t seem to work. As an alternative I’m making a category for each year (actually academic years) and want the sidebar to display a list of monthly archives for the current year only. It will have its own category.

    Can this be done?

Viewing 1 replies (of 1 total)
  • The topic ‘Can I display a yearly archive in the sidebar?’ is closed to new replies.