Home › Forums › Welcome! › Pre-Sales Questions › One event over 2 consecutive days
- This topic has 6 replies, 3 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
February 19, 2014 at 10:12 am #106500
andreafph
ParticipantJust 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’
February 19, 2014 at 12:40 pm #106602andreafph
ParticipantI 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’)
February 19, 2014 at 2:47 pm #106683Julie Kuehl
ParticipantHey 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
February 19, 2014 at 2:54 pm #106697andreafph
ParticipantSo there isn’t an ‘if start date is = to end date don’t show end date’ solution?
February 19, 2014 at 3:04 pm #106707andreafph
ParticipantActually 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.
February 19, 2014 at 3:57 pm #106752andreafph
ParticipantI 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.July 7, 2015 at 6:30 am #983077Support Droid
KeymasterThis 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. -
AuthorPosts
- The topic ‘One event over 2 consecutive days’ is closed to new replies.
