WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Archive list sorting by year, then list by month (3 posts)

  1. MrBlank
    Member
    Posted 8 years ago #

    Hello!

    I'm currently working on my first wordpress template and I'm running into a problem displaying my archive list in the sidebar. Basically, I'm trying to make my archives list like this:

    2005

    January | February | ...and so on...

    2006

    January | February | ...and so on...

    As you can see, I want the year to be a header and the months to list in a text string separated by vertical lines. WP template tags don't really allow me to pick which year to display. Do I have to know some PHP to call my information this way?

    Thanks for the help.

  2. douglemoine
    Member
    Posted 8 years ago #

    Hmm. I'm actually trying to do this, too, and I'm looking around for answers.

    Anyone got any ideas?

  3. MrBlank
    Member
    Posted 8 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags