Support

Home Forums Event Espresso Premium ESPRESSO_EVENT_ATTENDEES Order by

ESPRESSO_EVENT_ATTENDEES Order by

Posted: July 5, 2021 at 7:18 am


platform81

July 5, 2021 at 7:18 am

Hello,

I am using the following shortcode in my single events page

<?php print do_shortcode('[ESPRESSO_EVENT_ATTENDEES event_id='.$post->ID.']'); ?>

I have 3 different ticket types, is it possible to choose the order of how the attendees is displayed?

Thanks


Tony

  • Support Staff

July 6, 2021 at 4:28 pm

Hi there,

It depends on what order you want to use, the shortcode sets and order_by within the query which is filtered so you can change it, for example:

https://gist.github.com/Pebblo/d663a5e91f4f061f669ab9cf8e2d0dd7

However, you mentioned 3 tickets types so I’m guessing you want to split this up using those ticket types?

The support post ‘ESPRESSO_EVENT_ATTENDEES Order by’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso