Support

Home Forums Event Espresso Premium Combine Shortcode values

Combine Shortcode values

Posted: May 28, 2020 at 12:29 am

Viewing 4 reply threads


renefi

May 28, 2020 at 12:29 am

Hi, I use the shortcode [ESPRESSO_EVENT_ATTENDEES event_id=23600 status=RPP+RAP] to display approved and pending registrations in one list.But this modification of the shortcode seems to display every status. E.g. it displays also the cancelled registrations. What do I need to do? Thank you Rene


Tony

  • Support Staff

May 28, 2020 at 5:02 am

Hi Rene,

EE currently only allows a single status within the above shortcode and by setting status=RPP+RAP your effectively telling it to display all regs statuses as it doesn’t know what to do with the value you’ve passed.

To display both you would need to do something like:

[ESPRESSO_EVENT_ATTENDEES event_id=23600 status=RPP] 
[ESPRESSO_EVENT_ATTENDEES event_id=23600 status=RAP]

May I ask where you saw that you can use multiple statuses within the above shortcode? If that’s is in the documentation somewhere I’d like to update it.


renefi

May 28, 2020 at 10:06 am

Thank you Tony, actually I just assumed that this could be a way to do it. And it wasn’t 🙁
But the option you proposed works. It is just not so nice, because it then generates two lists… but hey..
Rene


Tony

  • Support Staff

May 28, 2020 at 3:43 pm

I can add this as a feature request as I can imagine other users would want to display combined attendee lists.

I can’t say it will be added etc but can at least note it for consideration.


renefi

June 2, 2020 at 3:05 am

Yes thank you

Viewing 4 reply threads

The support post ‘Combine Shortcode values’ 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