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


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.

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.

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  Sidney Harrell 5 years, 10 months ago ago

Topic Tags

Notifications

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