• GigPress version 2.1.9.1

    Is it possible to reverse the order of past dates?
    What I want is to be able to display my current dates in upcoming order, ie Dec 1, Dec 4, Dec 10, etc.
    But for past dates (archive), I’d like to list them in the reverse order, ie Nov 25, Nov 22, Nov 20, etc.

    I’m sure it’s as simple as changing a ‘ASC’ to a ‘DESC’, but there are so many files, I don’t even know where to start looking for the code.

    Help?
    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • This is actually the default behaviour … when using ‘scope=past’ the show will display in descending order.

    Thread Starter SaladGoat

    (@saladgoat)

    And yet I asked the question.

    I am using the following shortcode:
    [gigpress_shows scope=past show_menu=monthly year=current limit=50]

    on this page:
    http://www.leeaaron.com/events-2/past-dates/

    Default behaviour or not, you can see that dates are displayed earliest to latest. I would like to know where and how to change this to display from latest to earliest, without affecting the display of current/upcoming dates.

    Thanks!

    Sorry, missed this reply. There was indeed an error that was causing past shows to be sorted in ascending order. This can be fixed by you by simply adding “sort=desc” to the shortcode. The default behaviour will be fixed in the next commit.

    Thread Starter SaladGoat

    (@saladgoat)

    SUCCESS!
    Thank you, I am loving it now 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘GigPress sorting order?’ is closed to new replies.