Home › Forums › Calendar Products › Events Calendar PRO › Recurring Events Date Range?
- This topic has 10 replies, 3 voices, and was last updated 8 years, 2 months ago by
Drew.
-
AuthorPosts
-
December 26, 2017 at 11:20 am #1412956
Drew
ParticipantI’m working on a theater website, so the entire date range for a production is more important than the specific date of any individual performance. Is there any function I can use when customizing that will return the date range of a recurring event?
So, for example, in photo/single-event.php the tribe_events_event_schedule_details(); is returning:
January 19, 2018 @ 8:00 pm – 10:30 pm
Recurring Event (See all)But what I’d like to put in there is:
January 19, 2018 – February 3, 2018
Is there a method of doing that or some other workaround for showing the full date range for an event? I can include the date in the text, but then it just becomes a plain text piece of the excerpt instead of a specific data point I can style and so on.
December 26, 2017 at 9:12 pm #1413082Brendan
KeymasterHi there,
Thanks for email support and for the question. Multiple day events should show up as such. Can you post a screenshot of your event details in the wp-admin?
Thanks,
BrendanDecember 27, 2017 at 7:17 am #1413222Drew
ParticipantSure thing. Here’s a shot of the event entry screen and a shot of the site’s homepage, which uses the [tribe_events view=”photo” tribe-bar=”false”] shortcode.
December 27, 2017 at 1:25 pm #1413534inhouse
ParticipantI’d also be interested in showing a date range.
My current solution is to use CSS to always show the tooltip and hide the “Show All” link. Not sure how messy this will get for events which recur many many times.
I have also used a custom field for editors to publish a “plain english” version of the event occurrences. This way they can type something like “Mondays and Wednesdays, 3-5PM”. This is a messy solution as they have to remember to edit the date/times in multiple fields.
December 27, 2017 at 2:30 pm #1413563Drew
ParticipantIt’s an interesting workaround, but the content of the tooltip doesn’t really help me. Our shows are generally “every Friday and Saturday at 8 between date X and date X” so I don’t really need anything other than the first and last date. I will add a custom field for the ‘viewer friendly’ dates and see what I can do with it.
I’m wondering if I should maybe not use the recurring events at all. Since I’m not using the calendar layout, having every single performance at a unique URL doesn’t really help me anyway…
December 27, 2017 at 2:53 pm #1413568Drew
ParticipantHmmm… is there a way for me to return the value of Additional Fields in the ‘single-event.php’ template? I want to remove the tribe_events_event_schedule_details(); and put in the value of my custom Performance Dates field instead.
December 27, 2017 at 9:29 pm #1413714Brendan
KeymasterHi Drew,
You can try
echo tribe_get_custom_field('insertname');Does that make sense?
Thanks,
BrendanDecember 28, 2017 at 7:05 am #1413842Drew
ParticipantBAM. Yes, that should get me where I’m going. So, for now I guess I’ll just enter my recurring events as single events with a custom field and figure out some other way to present a calendar listing if I need to.
December 28, 2017 at 10:22 pm #1414315Brendan
KeymasterHi Drew,
Awesome, glad that works. Please let us know if there is anything else we can do for you.
Thanks,
BrendanJanuary 19, 2018 at 8:35 am #1430650Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Recurring Events Date Range?’ is closed to new replies.
