Support » Plugin: The Events Calendar » Widget: Hide End Date (not Time) for Single-Date Events

  • Resolved dpeters911


    I’m using The Events Calendar v2.0.10 and WordPress v3.4.2

    When displaying single day events via the widget, the date appears redundantly, i.e.:

    November 30, 2012 11:45 am –
    November 30, 2012 1:15 pm

    I’ve looked through the widget file: events-list-load-widget-display.php

    It appears the end date is a single variable. How can I break it up and then hide month/day/year so that only the end time is displayed?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Rob La Gatta


    Hey dpeters911. This is a good question and we should be able to point you in the right direction on it; that being said, it’s a bit outside my technical area of expertise. As such I’ve asked Jonah from our dev team to take a look and see if he can guide you towards a straightforward resolution.

    Stay tuned and thanks for your patience so far. Thanks, too, for using The Events Calendar.

    Hey dpeters911,

    Sorry about this. If you take this copy of events-list-load-widget-display.php ( and place in an ‘events’ folder in your theme, it should fix the issue. I’m going to report this as a bug too because it doesn’t seem to be functioning properly.

    I hope that helps,

    I was looking for a solution to the same problem. So I took the code and put it in the events folder in my theme, and the date and year disappears which is what I want, but the end time disappears as well, which is something that I want to keep. Any idea how to fix this?

    Hi randiferous,

    As mentioned in our sticky thread (, we unfortunately are unable to help with with customization, styling or integration issues not caused by bugs with The Events Calendar. You have a few options:

    1. Check out our extensive support resources and try to figure it out on your own: &
    2. Hire a developer to assist you. We’ve got a list of freelancers who know our code and who we can vouch for. Email us (pro at and we’ll pass that list your way.
    3. Purchase a Pro license to get more support: As mentioned in the sticky thread, we can provide both a deeper and more frequent level of support for PRO users.

    I hope that helps and good luck!

    – Jonah

    Hi Jonah

    I face the same problem.

    I don’t think this is a customization request, it is a usability request, to make your plugin hit the mark in terms of usability.

    Your solution above is not a real solution, as it removes the event end time from the display.

    Why can’t you help us out with a basic usability problem?


    Hi Steve,

    We try to cater to the wide variety of situations out there and unfortunately cannot satisfy them all. We display the date this way by default for event that span multiple days. To customize the date to your own needs you will need to modify things yourself. We have plenty of resources available to help you with this and I would suggest starting with our Themer’s Guide: Our support page is also another great resource:

    I hope that helps and sorry I can’t offer up more here.

    – Jonah

    Hi May be too late.

    but this is how I did it.
    // echo ‘ –
    ‘. tribe_get_end_date($post->ID);
    echo ‘ – ‘. tribe_get_end_date($post->ID,false, ‘g:i a’);

    Thanks for the post, hopefully that has helped others with their issue.

    – Jonah

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Widget: Hide End Date (not Time) for Single-Date Events’ is closed to new replies.