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


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]'); ?>

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.

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: closed

Updated by  Dean 7 years, 2 months ago ago

Topic Tags

Notifications

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