WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
[resolved] Widget: Hide End Date (not Time) for Single-Date Events (9 posts)

  1. dpeters911
    Member
    Posted 1 year ago #

    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?

    http://wordpress.org/extend/plugins/the-events-calendar/

  2. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    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.

  3. jonahcoyote
    Member
    Posted 1 year ago #

    Hey dpeters911,

    Sorry about this. If you take this copy of events-list-load-widget-display.php (http://cl.ly/code/3q0e080v2B1H) 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,
    Jonah

  4. randiferous
    Member
    Posted 1 year ago #

    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?

  5. jonahcoyote
    Member
    Posted 1 year ago #

    Hi randiferous,

    As mentioned in our sticky thread (http://wordpress.org/support/topic/welcome-the-events-calendar-users-read-this-first), 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: https://tri.be/support/ & http://tri.be/support/forums
    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 tri.be) and we'll pass that list your way.
    3. Purchase a Pro license to get more support: http://tri.be/shop/wordpress-events-calendar-pro/. 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!

    Cheers,
    - Jonah

  6. SRD75
    Member
    Posted 1 year ago #

    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?

    Sincerely,
    Steve.

  7. jonahcoyote
    Member
    Posted 1 year ago #

    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: http://tri.be/support/documentation/events-calendar-themers-guide/. Our support page is also another great resource: http://tri.be/support/

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

    - Jonah

  8. girish_poojari@yahoo.com
    Member
    Posted 1 year ago #

    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');

  9. jonahcoyote
    Member
    Posted 1 year ago #

    Thanks for the post girish_poojari@yahoo.com, hopefully that has helped others with their issue.

    - Jonah

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic