How to remove an event’s end time?

Home Forums Calendar Products Events Calendar PRO How to remove an event’s end time?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #57820
    aj
    Participant

    Howdy,
    I’d like to remove the end time from my single event pages. Can you either point me to a previous thread (I looked; honest! 🙂 ) or give me a hand here?
    Thanks!

    -aj

    #58090
    Casey
    Participant

    Aj,
    I’m going to move this thread over to the PRO forum, since this isn’t really Community related. I’ll make sure someone follows up with you ASAP. Thanks and stand by.

    #58107
    Barry
    Member

    Hi aj,

    If you’re happy working with template overrides (see here) you could override single-event.php then find the following line:

    <h3><?php echo tribe_events_event_schedule_details(); ?></h3>

    And replace it with:

    <h3>
    <span class="date-start dtstart">
    <?php echo tribe_get_start_date( $event, false, '' ) . ' @ ' . tribe_get_start_date( $event, false, get_option( 'time_format' ) ) ?>
    <span class="value-title" title="<?php echo tribe_get_start_date( $event, false, 'Y-m-dTh:i' ) ?>"></span>
    </span>
    </h3>

    Does that help at all?

    #980020
    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 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to remove an event’s end time?’ is closed to new replies.