Monthly Archive of 1 Year (3 posts)

  1. Terry
    Posted 9 years ago #

    I am designing a new wordpress template and when creating the template for the archive page I would want to list down the monthly archive of one year. This is possible? For example, if I would want to list the monthly archive of year 2006, what should I do? I've searched the database regarding archive tags usage but to no avail.

    Thank you!

  2. jrawle
    Posted 9 years ago #

    I'm not sure exactly what you want. With the default (kubrick) theme, if you go to http://domain.com/2006/ it will show an archive of all the posts in 2006. Is that what you want?

  3. jetshack
    Posted 9 years ago #

    In your sidebar....

    <?php wp_get_archives('type=yearly'); ?>

    or maybe...

    <?php wp_get_archives('type=monthly'); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic