1

I created a section on a site that shows a two-month calendar. The calendar has links to entries based on a release date. The release dates are created using a date/time filed. (Dates are different than the entry release date)

I'm very happy with the results so far. I took some ideas from this answer and a little flexbox magic. Everything is working great for the current/next month to show.

What I'm looking for is some ideas on how to display past dates. I want to create an "archive" section of the calendar where people can navigate to a month in the past to see the events that took place in that specific month.

Should I create a category group called "months" and then manually add months as they pass, changing the DateTime object?

Any ideas on the best way to display months in the past would be greatly appreciated.

1

You can get your past entries by month as explained here. Than it's just a matter of displaying them they way you want to.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.