Recurring Events Date Range?

Home Forums Calendar Products Events Calendar PRO Recurring Events Date Range?

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1412956
    Drew
    Participant

    I’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.

    #1413082
    Brendan
    Keymaster

    Hi 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,
    Brendan

    #1413222
    Drew
    Participant

    Sure 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.

    #1413534
    inhouse
    Participant

    I’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.

    #1413563
    Drew
    Participant

    It’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…

    #1413568
    Drew
    Participant

    Hmmm… 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.

    #1413714
    Brendan
    Keymaster

    Hi Drew,

    You can try

    echo tribe_get_custom_field('insertname');

    Does that make sense?

    Thanks,
    Brendan

    #1413842
    Drew
    Participant

    BAM. 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.

    #1414315
    Brendan
    Keymaster

    Hi Drew,

    Awesome, glad that works. Please let us know if there is anything else we can do for you.

    Thanks,
    Brendan

    #1430650
    Support Droid
    Keymaster

    Hey 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

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Recurring Events Date Range?’ is closed to new replies.