My EE4 works great. I now want to show the total number of attendees per event. I can see them in the WordPress Dashboard but how do I display them in a post?
Just to note, if you are using code from the forums, it’s best to include a link to the forum post so we have some additional context on that code. So it looks like it’s the code shared by WisdmLabs here:
All I want is for this to count the number of approved attendees. Similar to the shortcode [ESPRESSO_EVENT_ATTENDEES event_id=3510] except it provides a count of the attendees instead of listing their names.
Uses EE_Contacts linked to the registration on an event. For example, if you have 10 registrations all linked to the contact (same First Name, Last Name & Email Address), the above shortcode would should 1 attendee.
How many datetimes in your event?
How many tickets on those datetimes?
Viewing 5 reply threads
The support post ‘How to show the total number of attendees for an event’ 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.