Date-based archives, new and improved

I learned a useful MovableType trick from Chuck, who has Pie in the Lunchroom. It’s a really simple MT hack that sorts entries in the date-based archives in ascending, not descending order. Descending makes sense on the index; you want to see the latest, not the oldest. But when you look at the archives it’s […]

I learned a useful MovableType trick from Chuck, who has Pie in the Lunchroom.

It’s a really simple MT hack that sorts entries in the date-based archives in ascending, not descending order.

Descending makes sense on the index; you want to see the latest, not the oldest. But when you look at the archives it’s sort of non-intuitive to work back. You want to read oldest to newest.

The change is super-simple. Just edit your Date-Based Archive, and replace this code:


     <MTEntries>
     <$MTEntryTrackbackData$>

With this code:

     <MTEntries sort_order="ascend">
     <$MTEntryTrackbackData$>

I think you can do the same thing with category archives but I’m considering if that makes sense or not.

Thanks, Chuck!

0 thoughts on “Date-based archives, new and improved”

Leave a Reply

Your email address will not be published. Required fields are marked *