Support

Home Forums Event Espresso Premium Adding event available spaces to all event posts

Adding event available spaces to all event posts

Posted: January 29, 2013 at 8:27 pm

Viewing 1 reply thread


Vinay Kumar Rai

January 29, 2013 at 8:27 pm

Hello,

I’d like to add the number of available spaces to each of my event posts.

I’ve read through the shortcodes file but I am still confused as to which file I need to edit, where and what to edit in the file.

Thank you and cheers!


Dean

January 29, 2013 at 11:34 pm

Hi

You can add the following shortcode to the event

[ATTENDEE_NUMBERS event_id=1 type=available_spaces]

You need to edit the event_id as needed.

If you want to automate this on the registration page (the page with the event details and registration form) you can edit the registration_page_display.php template with the following.

<?php echo do_shortcode('[ATTENDEE_NUMBERS event_id=' . $event_id . ' type=available_spaces]'); ?>
Viewing 1 reply thread

The support post ‘Adding event available spaces to all event posts’ 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