Support

Home Forums Event Espresso Premium Combine Shortcode values

Combine Shortcode values

Posted: May 28, 2020 at 12:29 am


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

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3 Documentation for Event Espresso 4

Status: publish

Updated by  renefi 1 month, 1 week ago ago

Topic Tags

Notifications

This topic is:
pending
Do NOT follow this link or you will be banned from the site!