WordPress.org

Ready to get started?Download WordPress

Forums

Monthly Archive of 1 Year (3 posts)

  1. Terry
    Member
    Posted 7 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
    Member
    Posted 7 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
    Member
    Posted 7 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

Tags