Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Adding event available spaces to all event posts | Event Espresso - Staging Server

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

  • Support Staff

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 - Staging Server