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
Need to Display Available Spaces for *Recurring* Events | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Need to Display Available Spaces for *Recurring* Events

Need to Display Available Spaces for *Recurring* Events

Posted: December 30, 2013 at 10:26 am

Viewing 4 reply threads


Joe Sollazzo

December 30, 2013 at 10:26 am

I need to display the available spaces for recurring events. Problem is, the shortcode: [ATTENDEE_NUMBERS event_id=1 type=available_spaces] depends on the event ID, which applies to individual dates within the recurring event. This means that although I have embedded the code on a recurring event for which the dates have been auto-incremented, the available spaces will reflect only one specific date’s available spaces.

Is there a better way to do this? Like by changing something within the shortcode to recognize that particular date within the recurring event? Or some global setting that allows me to just turn on this feature without having to embed a zillion shortcodes?

WordPress 3.8
Event Espresso 3.1.36.1.P
New install
Site not yet public


Sidney Harrell

  • Support Staff

December 30, 2013 at 2:46 pm

Are you using the shortcode on an event post, an event list, or a registration page?


Joe Sollazzo

December 30, 2013 at 3:16 pm

I am using the shortcode within the event description area (reachable via Event Espresso > Event Overview > Add New Event)


Joe Sollazzo

December 30, 2013 at 3:33 pm

PS – Ideally, I also need the ‘available spaces’ to show within the calendar view… In trying to figure this out, I ran across the aforementioned shortcode which I embedded in the event description.


Sidney Harrell

  • Support Staff

December 30, 2013 at 11:10 pm

I found a fix for you:

You can add this code to one of the following:
1 – Your theme’s functions.php file. It may get overwritten the next time you update your theme.
2 – The EE custom files add-on in the custom_functions.php file.
3 – Use this blank plugin to hold the custom function.

Viewing 4 reply threads

The support post ‘Need to Display Available Spaces for *Recurring* Events’ 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