Home Forums Event Espresso Premium Frontend attendee list sorting

Frontend attendee list sorting

Posted: August 10, 2017 at 12:24 pm


August 10, 2017 at 12:24 pm

We show the list of attendees of an event via the shortcode. Now the attendees are sorted by the last name.

Is it possible to change the order of the attendees?

We added a custom question “Company” and would like to sort the attendees alphabetically by the company name.

We use latest versions of EE4 and WP.

Printscreen of attendee list


  • Support Staff

August 10, 2017 at 1:57 pm

Hi there,

Yes there is a filter hook that allows for changing how those are ordered by:

If you need further help with an example of how to use the filter hook, it will help if you can post a pastebin or a gist with the code you’re using to add the Company name to the shortcode output.


August 10, 2017 at 2:09 pm

Thanks, Josh!

I customized content-espresso_event_attendees.php


Regards, Wim


  • Support Staff

August 10, 2017 at 9:55 pm

OK you can delete your content-espresso_event_attendees.php file and instead upload a loop-espresso_event_attendees.php file to your WordPress child theme. Your customized loop-espresso_event_attendees.php file can be copied from this gist:


August 10, 2017 at 11:41 pm

Awesome, Josh!

Works like a charme, thanks for the great support!


  • Support Staff

August 11, 2017 at 12:42 pm

Cool. Glad to hear you got things running there. If you have a moment would you like to leave a review for Event Espresso on

The support post ‘Frontend attendee list sorting’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 2 years ago ago

Topic Tags


This topic is:
Do NOT follow this link or you will be banned from the site!