Remove time from list view widget

Home Forums Calendar Products Events Calendar PRO Remove time from list view widget

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #86344
    starfiresports
    Participant

    I’m trying to remove the time from the list widget so only the date shows with no luck. I have found a number of different support questions which had some possible solutions but am not get any of them to work. I found the documentation for http://docs.tri.be/Events-Calendar/function-tribe_events_event_schedule_details.html but aren’t sure how to implement the time value.

    #87371
    starfiresports
    Participant

    This is resolved, I swapped line 28 of list-widget.php (added to theme folder/tribe-events/pro/widgets/list-widget.php) <?php echo tribe_events_event_schedule_details(); ?> with <?php echo tribe_get_start_date($post->ID, false, ‘M j’); ?>.

    This post https://theeventscalendar.com/support/forums/topic/remove-time-from-events-advanced-widget/ has code that I got answer from but make sure to change the single quotes around your date parameters. Date can be customized with parameters found at http://www.php.net/manual/en/function.date.php.

    #87814
    Casey
    Participant

    Great! Glad to hear that you were able to sort this one out on your own. Since you’re all set, I’m going to go ahead and close out this thread, but feel free to start a new thread if you have further questions.

    Thanks so much!

    -Casey-

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Remove time from list view widget’ is closed to new replies.