just start time…

Home Forums Calendar Products Events Calendar PRO just start time…

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1150615
    fabrice ferries
    Participant

    Hi,

    I’m trying to display the start time of an event in the list view of the Calendar widget (grid).
    At first it works !

    But when i pick another date it become : “0:00”.

    In the single-event.php template for widgets i put :

    <?php echo apply_filters(
    ‘tribe-mini_helper_tribe_events_ajax_list_dayname’, date_i18n( ‘G:i’, $postDate ), $postDate, $mini_cal_event_atts[‘class’] ); ?>

    where :

    $postDate = tribe_events_get_widget_event_post_date();

    Can you tell me how can i do ?

    <?php echo tribe_events_event_schedule_details(); ?> is not good for me beacause i just want the start time and not all the date

    Thanks a lot !

    #1150761
    Brook
    Participant

    Howdy Fabrice,

    I would love to help you with this. I bet you be interested in the function tribe_get_start_time(), which would return the start time of that event, regardless of post data. Does that do the trick?

    Cheers!

    – Brook

    #1150862
    fabrice ferries
    Participant

    Thanks a lot Brook !!!
    So easy ! I can’t understand why i couldn’t find this in the support…

    Have a good day !
    Fabrice

    #1151086
    Brook
    Participant

    You are welcome. Yeah we are always trying to make stuff easier to find, but there is just so many facets of the plugin and tutorials that it’s still a bit difficult.

    Thanks for getting back. It was my pleasure. You have a great day too!

    – Brook

    #1159685
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘just start time…’ is closed to new replies.