One event over 2 consecutive days

Home Forums Welcome! Pre-Sales Questions One event over 2 consecutive days

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #106500
    andreafph
    Participant

    Just went Pro and am looking to list a few events that span a weekend- example: A market that runs Saturday and Sunday from 11am-6pm. I only want it to show once in the events list and read something like: Market, Saturday 3.3.14-Sunday 3.4.14, 11:00am-6:00pm.

    I would also like to know how to output the start and end dates in a loop, but not show the end date for those events that are just one day. As it is now, it would output ‘3/12/14-3/12/14’

    #106602
    andreafph
    Participant

    I figured out how to hide the Recurring event instances w/ setting option to show only the first instance … easy enough. Now for the loop…at the moment I’m using: tribe_get_start_date($event, false, ‘m/d/Y’)

    #106683
    Julie Kuehl
    Participant

    Hey andreafph,

    Sounds like you found a way to make it work for you. Recurring events are something that are currently being looked at by the developers. Perhaps in an upcoming release we’ll have a solution that will meet your needs. Until then, good luck with your project!

    – Julie

    #106697
    andreafph
    Participant

    So there isn’t an ‘if start date is = to end date don’t show end date’ solution?

    #106707
    andreafph
    Participant

    Actually a solution would be to be able to mimic the widget’s start/time output in my home page loop– searching for that code now.

    #106752
    andreafph
    Participant

    I pieced together a solution to remove the time from the tribe_events_event_schedule_details filter by copying the full function function ‘tribe_events_event_schedule_details’ in general.php to my theme’s function.php file, then renaming the filter to function tribe_events_event_schedule_details_noTime and editing show_end_times and time to false:

    $settings = array(
    ‘datetime_separator’ => ‘ @ ‘,
    ‘same_year_format’ => ‘F j’,
    ‘show_end_time’ => false,
    ‘time’ => false,
    Be sure to rename your new filter where it is being used, in my case, in a loop on the home page.

    #983077
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘One event over 2 consecutive days’ is closed to new replies.