Support » Plugin: GigPress » Order by Date using [gigpress_shows]

  • Resolved westonjeff

    (@westonjeff)


    Sorry if answered already, but can’t seem find way to search this forum.

    How can I order / sort upcoming shows by date (ascending) instead of by artist when adding short code “[gigpress_shows]” to a WordPress page?

    Thanks in advance for any help!

    • This topic was modified 2 years, 9 months ago by  westonjeff.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor ggwicz

    (@ggwicz)

    Hey @westonjeff,

    There’s unfortunately no way to go about modifying this sorting without diving into the plugin code directly; the gigpress_shows() function found in the file gigpress_shows.php is where the query is assembled, and thus where you can tweak things to sort by date instead of by artist.

    We’re not able to help with custom coding unfortunately, as elaborated upon here. But I did try and see if I could make a modification to the file to sort output by date; I wasn’t successful in my attempt. 🙁

    I will ask another developer on our team to take a crack at this — stay tuned!

    In the meantime, here is the official documentation for GigPress’ shortcodes → http://gigpress.com/docs/#shortcodes

    Cheers,
    George

    Thanks for the reply and effort George.

    When I add Gigpress as a widget, it sorts by date by default. Find it a bit strange the normal use of “[gigpress_shows]” doesn’t do the same.

    Thanks again!

    Plugin Author geoffgraham

    (@geoffgraham)

    You bet — let us know if any other questions come up and we’d be happy to help. 🙂

    Cheers!
    Geoff

    If anyone’s interested, a quick fix to display by date is to user the short code of

    [gigpress_shows group_artists=no]

    Plugin Contributor Clifford Paulick

    (@cliffpaulick)

    Thanks for sharing your workaround, @westonjeff.

    Have a great rest of your week!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Order by Date using [gigpress_shows]’ is closed to new replies.