No end date displayed in advanced list widget

Home Forums Calendar Products Events Calendar PRO No end date displayed in advanced list widget

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #20481
    Chris
    Participant

    I’m using the advanced list widget and want to show start/end dates. Start date is displayed, end date is not. http://anywhere5k.com/

    #20504
    Rob
    Member

    Hey Chris. Thanks for the note here; this is a good point. For a post-2.0 release we at one point elected to remove the end date for all-day events in the widget, but that was initially intended to just apply to one-day events. Looks like that got changed here and obviously this is the incorrect behavior…thanks to you bringing it to our attention, we’ll make sure it is fixed in next month’s maintenance release (2.0.8, which should be out around the same time of the month as 2.0.7 was in June).

    In the interim, let me see if our dev Jonah has any suggestions for code you could add as a workaround. No guarantees but it’s worth a shot. Stay tuned and thanks again for reporting this.

    #20595
    Jonah
    Participant

    Hey Chris,

    Did you try clicking the “End Date & Time” box in the widget settings? http://cl.ly/0a2i0q3U1Y3y2E1S273i

    – Jonah

    #20621
    Chris
    Participant

    Yep

    #20640
    Jonah
    Participant

    Oh, so you want to be able to show the end date for all day events?

    #20735
    Chris
    Participant

    Yep. Start date and end date. EX: June 20-June 22

    #20755
    Jonah
    Participant

    Hey Chris,

    Ok, all you’ve got to do is make a copy of /wp-content/plugins/events-calendar-pro/views/events-advanced-list-load-widget-display.php and place in an ‘events’ folder in your theme.

    Open that in a text editor and find line 49:

    echo ' ('.__('All Day','tribe-events-calendar-pro').')';

    add the following right below that:

    echo '' . __('Ends', 'tribe-events-calendar-pro') . ' ';
    echo tribe_get_end_date($post->ID);

    That should do it!

    #20967
    ann
    Participant

    Thanks! Just the bit of code I was looking for! Thanks!

    #20973
    Jonah
    Participant

    You’re welcome Ann, let us know if there’s anything else you need 🙂

    – Jonah

    #977153
    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 10 posts - 1 through 10 (of 10 total)
  • The topic ‘No end date displayed in advanced list widget’ is closed to new replies.