Returns a list of attendees for a single event. Accepts the following arguments:

  • id: the ID of the event you want to show the attendees for. See also the examples below. Either this option or the scope option is required to be present (see below). When using ths shortcode inside a single event format, the id is in fact optional (the id of the event being shown is taken). When in the event list format, you can use #_EVENTID if needed.
  • template_id, template_id_header, template_id_footer (optional): use a predefined format template for the attendee list header, footer or list entry, instead of the default settings configured. See http://www.e-dynamics.be/wordpress/?cat=51. Because the attendees returned are a list, you can define specific templates for the header, footer and an entry in that list.
  • rsvp_status can be used to show only bookings with a certain approval status (approved, pending, all). Values: 0=all, 1=approved, 2=pending 3=awaiting user confirmation. Default: 0
  • paid_status: only show attendees with bookings with a specific payment status (paid, unpaid, all). Values: 0=all, 1=unpaid, 2=paid. Default: 0
  • order: defines the order in which attendees are shown. The default order corresponds to “people.lastname ASC, people.firsname ASC”.
  • scope: see the explanation for [eme_events]. Either this option or the id-option is required to be present. If id and scope or not present, “future” is taken.
  • always_header_footer: always show the header/footer templates, even if no bookings are made yet. By default just the message that no bookings are made is shown (without header/footer template content).

In the templates for this shortcode, the standard placeholders for events AND the extra placeholders mentioned below can be used:

  • #_ATTENDNAME displays the name of the attendee.
  • #_ATTENDEMAIL displays the e-mail address of the attendee.
  • #_ATTENDPHONE displays the phone of the attendee.
  • #_ATTENDID displays the numerical ID of the attendee.
  • #_ATTENDSEATS displays the total amount of seats booked by the attendee.

The shortest call (similar to #_ATTENDEES inside the single event format): [eme_attendees]
Inside the event listing format, an ID is needed, so you could use:
[eme_attendees id=#_EVENTID]
Other examples:
[eme_attendees id=1 template_id=3 template_id_header=7 template_id_footer=9]
[eme_attendees scope=+3d template_id=3 template_id_header=7 template_id_footer=9]
[eme_attendees id=#_EVENTID template_id=3 template_id_header=7 template_id_footer=9]
[eme_attendees rsvp_status=1]

Scroll to Top