Posted: August 30, 2020 at 9:32 am
Ref: https://eventespresso.com/topic/booking-slots/ |
|
Hi Channing,
Correct.
For your set up we don’t have a more efficient option without custom development.
If you are comfortable with PHP you can use our model system to create some helper functions that may reduce the admin for this, for example, you could create a script to loop over X events and update all of the ticket ‘sale start’ and ‘sale end’ dates on those events. The model system makes this much easier to do than rolling your own code from scratch, see: https://github.com/eventespresso/event-espresso-core/tree/master/docs/G–Model-System |
|
OK, as a follow up to this. In Calendar, I’d like to just show the event, not all the datetimes – 23 datetimes becomes just a list on each day, negates the usefulness of the calendar’s familiarity to people. They click on the date anyway. A way to do this? |
|
There’s a couple of options depending on the specifics of what you want output but this snippet: Shows only the first datetime for an event on the calendar. This snippet: Groups the datetimes by day, so if you have multiple datetimes on the same date it will only display 1. You can add either of those to a custom functions plugin on the site, we have some documentation on creating one here: https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/ |
|
This is great. Thanks for that. I’m using the second snippet in git you provided. I’d love to simplify further by only showing the event name in the monthly calendar view. do you have a modifier to that snippet that would work….? |
|
The above filter runs specifically on the query args so you can’t change how each element is output from that, we do have some options to reduce the content of the calendar in: Event Espresso -> Calendar -> Basic Settings. So you literally only want to display the event title and that’s it? Set ‘Show Event Time in Calendar’ and ‘Enable Images in Calendar’ to remove the times and images. You can then either hide additional details using CSS or dig into the |
|
The support post ‘Multiple events, one ticket type’ 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.