End Date – End Time – Can we hide this display?

Home Forums Calendar Products Community Events End Date – End Time – Can we hide this display?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #25421
    flguy
    Participant

    I would like to know how to remove the END DATE – END TIME. We have events that start in the evening and run into early the next morning. We do not want to display the event on two different days & if we run the event of a single day we don’t want customers to think we close at 11:55 PM. Any ides from gurus on this forum?

    #25592
    Ria
    Participant

    Same here, flguy. I noticed this problem when trying to display “upcoming events” in my sidebar and footer, using the Events List Advanced Widget. It seems you can’t just show the date of the vent, you are forced to show the start date/time and the end date/time. I looked at the code in the widget-featured-display.php and see that the line of code that generates this info “echo tribe_get_start_date( $post->ID, isset($start) ? $start : null );” doesn’t seem to present an easy way to manipulate the template code so it will just show the date of the event without the start time + end time. Grrrr. I’m going to keep looking, but also hope someone here can offer a solution to this. I am using this for events that start at 10pm and go til 2am each weekend.

    #25593
    Ria
    Participant

    Figured it out myself, and then later saw that the similar fix was already posted in the support forum too. As usual, I spoke before I looked. In the file “events-advanced-list-load-widget-display.php”

    Delete line 51:
    if( tribe_is_multiday( $post->ID ) || !$event->AllDay ) {
    echo ‘ – ‘. tribe_get_end_date($post->ID);
    }

    Hope this helps.

    #26180
    Leah
    Member

    Glad you figured it out Ria! Figuy, are you still having trouble?

    #26419
    Casey
    Participant

    I’m going to close this thread out since we haven’t heard back from you. Feel free to start another thread if this is still an issue. Thanks!

    #977961
    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 6 posts - 1 through 6 (of 6 total)
  • The topic ‘End Date – End Time – Can we hide this display?’ is closed to new replies.