Support

Home Forums Event Espresso Premium Is there a shortcode for extra fields in attendee list?

Is there a shortcode for extra fields in attendee list?

Posted: March 4, 2013 at 3:44 pm


Franz Skaaning

March 4, 2013 at 3:44 pm

I added some extra fields, and would like to add this information to a attendee list.

`Attendees: [ATTENDEE_NUMBERS event_id=1 type=num_attendees]

[ LISTATTENDEES id=1]`

I also need to add the price-type for each attendee.


Dean

March 5, 2013 at 4:20 am

Hello Franz,

To be able to do that you would need to modify the listattendees shortcode. I would recommend copying it over to the Custom Files custom_shortcodes.php renaming the function and adding in the extra functionality you require.


Franz Skaaning

March 5, 2013 at 4:50 am

What about just the price-type/option?


Dean

March 5, 2013 at 5:23 am

Hi Franz,

The shortcode doesn’t pull that data by default, so it would need to be reworked to get at that data.


Franz Skaaning

March 6, 2013 at 1:17 pm

is there a list of attendees somewhere else in the system I can show to the registered people?


Josh

  • Support Staff

March 7, 2013 at 8:10 am

Hi Franz,

The [LISTATTENDEES] shortcode is the one feature that lists attendees on the front end of the website.


Sidney Harrell

March 7, 2013 at 8:24 am

I believe the only places the attendee information is listed is the shortcode-generated list and the list visible to the admin in the backend of the site. However, for the shortcode-generated list, the information pulled from the DB about each attendee is controlled in the template file located in templates/attendee_list.php, at line 70. Modifying the sql query and the display should not take a developer more than 1-2 hours.

The support post ‘Is there a shortcode for extra fields in attendee list?’ 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