Support

Home Forums Event Espresso Premium Attendee list for individual "sessions"

Attendee list for individual "sessions"

Posted: June 8, 2023 at 1:10 pm

Viewing 11 reply threads


Andrea

June 8, 2023 at 1:10 pm

I have events that have different “sessions” within them. When using the attendee list shortcode ([ESPRESSO_EVENT_ATTENDEES]), I only get the list for everyone registered for ANY session. I know I can add the datetime to show the attendees for different sessions, but that creates additional steps for each event. Over time, it’s a lot of extra work.

Is there a way to show attendees for individual sessions/tickets in a way that can just stay there as a constant? I’m trying to avoid creating a custom template if I can, but I will if that’s the only way. I just am not sure about the code I’d need to pull the datetime IDs in and display them.


Garth

  • Support Staff

June 8, 2023 at 3:52 pm

Hi There,

I’m not sure we have enough information. When you say “sessions” how are you structuring or organizing how attendees register for those sessions? Are you using ticket options, or answers to custom questions or something else?

Is there a way to show attendees for individual sessions/tickets in a way that can just stay there as a constant?

This shortcode will show a list of attendees for each ticket, but each ticket in Event Espresso has a different ID number: [ESPRESSO_EVENT_ATTENDEES ticket_id=123]


Andrea

June 12, 2023 at 1:03 pm

They’re set up as 4 different times in the event and a ticket assigned to each time.


Rio

  • Support Staff

June 13, 2023 at 3:54 am

Hello,

We have list of Event Attendees Shortcode Here.
https://eventespresso.com/wiki/ee4-shortcodes-template-variables/

You can use the filter provided in that documentation.

thanks


Andrea

June 13, 2023 at 1:41 pm

I see some examples of customized templates and how to display a custom question, but I don’t see anything that looks like it applies to what I’m hoping to accomplish. Can you be a bit more specific about how to use this to output a list of attendees with the tickets they selected?


Tony

  • Support Staff

June 13, 2023 at 1:56 pm

So you’re looking for a method/snippet to output the attendee list for each specific datetime/ticket without needing to specific the datetime/ticket ID?

Somehting like: https://gist.github.com/Pebblo/2916cff85d64b4b03c6f4c69626a39d6

Which adds the output to the end of each datetime.

Or this one: https://gist.github.com/Pebblo/edf43d0d7037a12e8260104a6abd454c

Which adds the output to the end of the ticket description?


Andrea

June 13, 2023 at 2:04 pm

Sorry. I put my reply in the wrong thread… just clicked a link in the e-mail and ended up lost. 🙂
—–

Awesome. Thanks. The first one is perfect for what I need.

It’s just doing this thing where it’s showing an HTML comment:

<!–
–>

after the attendee name.

Any ideas on why?


Tony

  • Support Staff

June 13, 2023 at 2:36 pm

Hmm, its a comment being escaped.

\event-espresso-core\public\Espresso_Arabica_2014\content-espresso_event_attendees.php

Line 28 will have <!--<br >-->

Remove that, does it fix it for you?


Andrea

June 13, 2023 at 2:45 pm

Yes it does. Will that be overwritten on update? Do I need to put that template in my child theme?


Tony

  • Support Staff

June 13, 2023 at 2:50 pm

Yeah it will, I was just confirming that was indeed the issue for you.

Yes, place a copy of that template within your child theme.


Andrea

June 13, 2023 at 2:51 pm

Got it. Thanks!


Tony

  • Support Staff

June 13, 2023 at 2:56 pm

You’re most welcome 🙂

Viewing 11 reply threads

The support post ‘Attendee list for individual "sessions"’ 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