Support

Home Forums Event Espresso Premium Attendee List Code Snippet

Attendee List Code Snippet

Posted: July 9, 2015 at 7:08 am

Viewing 3 reply threads


John Fabula

July 9, 2015 at 7:08 am

Hi, I used the attendee list code snippet for EE4 to list the attendees and gravatar after the event description. It works, but it also shows a member who’s registration was cancelled. I would also like to know how to have the attendees displayed in columns instead of in a bullet list if anyone can offer me a suggestion. I followed the instructions from this thread which includes the code snippet. I also followed the direction of the last poster to add a line of code, but that just removed the attendee list in its entirety. Please and thank you.


Josh

  • Support Staff

July 9, 2015 at 8:13 am

Hi John,

It turns out the thread you linked to is out of date because Event Espresso 4 now includes a shortcode, [ESPRESSO_EVENT_ATTENDEES], that lets you print an attendee list on a page.

Here’s a link to its documentation:

https://eventespresso.com/wiki/ee4-shortcodes-template-variables/#event-attendees

Once you have the shortcode set up, you can remove the bullets and add columns by adding the following to your custom stylesheet:

.event-attendees-list {
list-style: none;
columns: 2;
-webkit-columns: 2;
-moz-columns: 2;
}


John Fabula

July 9, 2015 at 8:16 am

Wow, very quick reply. Thanks! I did originally use the short code, but no gravatar. Is there anyway to pull that in with the short code?


Josh

  • Support Staff

July 9, 2015 at 9:23 am

Yes, there’s a shortcode paramether:

[ESPRESSO_EVENT_ATTENDEES show_gravatar=true]

Viewing 3 reply threads

The support post ‘Attendee List Code Snippet’ 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