Support

Home Forums Event Espresso Premium ATTENDEES_NUMBER for current event

ATTENDEES_NUMBER for current event

Posted: April 19, 2014 at 8:37 am

Viewing 1 reply thread


Frederik Schorr

April 19, 2014 at 8:37 am

I want to show the number of registered attendees within all my event descriptions – probably very simple – but i could not figure it out ๐Ÿ™

Something similar works fine with the [LISTATTENDEES] shortcode which “automatically” knows it is being called from an event – and only displays the attendees for this event.

But i only want to display the number of registered attendees – [ATTENDEES_NUMBER] can do this – but it requires the Event_Id as parameter – and i cannot figure out how to determine the Event_Id from within the event description and pass it to [ATTENDEES_NUMBER].

Thank you! Frederik

PS: I use WordPress 3.8.3 with new EE3.1.36.5.P Here is link to registration page: http://www.ycw.at/registrierung


Lorenzo Orlando Caum

  • Support Staff

April 19, 2014 at 5:58 pm

Hi Frederik,

Please take a look at the example on this page for how to add the attendee number shortcode to your Event Espresso templates:

https://eventespresso.com/wiki/shortcodes-template-variables/#attendee-numbers

Best


Lorenzo

Viewing 1 reply thread

The support post ‘ATTENDEES_NUMBER for current 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.

Event Espresso