Support

Home Forums Event Espresso Premium EE4 Multiple Attendees Shortcodes on Single Page or Post

EE4 Multiple Attendees Shortcodes on Single Page or Post

Posted: March 11, 2016 at 7:13 am


David Pensato

March 11, 2016 at 7:13 am

I have an event where we would like to list all attendees on a page, but would like to do so as divided up by ticket. The simple solution would seem to be to use the Ticket Id variable for each, like so (id #s aren’t the real numbers):

Heading 001
[ESPRESSO_EVENT_ATTENDEES ticket_id=001]

Heading 002
[ESPRESSO_EVENT_ATTENDEES ticket_id=002]

Heading 003
[ESPRESSO_EVENT_ATTENDEES ticket_id=003]

After testing, though, it looks like you can only put one shortcode per page or post. That is, it processes the first ticket ID (001), and then each subsequent call simply repeats the list of attendees for that ticket.

1) Will this be patched in the near future?
2) Can you suggest a workaround in the mean time?

Thanks!


Josh

  • Support Staff

March 11, 2016 at 11:02 am

Hi David,

I can suggest that you can try some additional troubleshooting because I’m not seeing the same issue on our test sites. Here’s a link to a test site where it correctly shows each ticket’s attendee list on the same page:

http://josh.eventespresso.com/attendee-shortcode-tests/

What may be happening is there’s some code running on your site that’s causing some interference where there are multiple loops within the same section of a page. If there’s code like that on your site, you can rule out whether that’s from the theme or another plugin by temporarily switching to a default theme and temporarily deactivating other plugins.

The support post ‘EE4 Multiple Attendees Shortcodes on Single Page or Post’ 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