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


brewscruise1

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

December 30, 2013 at 2:46 pm

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


brewscruise1

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)


brewscruise1

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

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