Show Day as well as date

Home Forums Calendar Products Events Calendar PRO Show Day as well as date

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #146494
    Michelle
    Participant

    I would like to have the events listing (in sidebar) show the day as well as the date. Is there a way to do this?

    #146720
    Casey D
    Member

    Hello gpeery!

    Great news! I just did a relevant tutorial for this yesterday! https://theeventscalendar.com/support/documentation/add-start-time-to-event-title-in-month-view/

    Same concept, using the Themer’s Guide, you could probably make a template override to display what you want. Override /views/widgets/list-widget.php.

    Find the ‘duration’ section and add the tribe_get_start_date() function
    <h4>tribe_get_start_date( $post->ID, true, ‘l’ ) for long day (Thursday)</h4>

    40 <div class="duration">
    41   <?php echo tribe_get_start_date( $post->ID, true, 'l' ) . ' '; ?>
    42   <?php echo tribe_events_event_schedule_details(); ?>
    43 </div>

    2014-04-30 at 3.45 PM

     
    <h4>tribe_get_start_date( $post->ID, true, ‘D’ ) for short day (Thu)</h4>

    40 <div>
    41   <?php echo tribe_get_start_date( $post->ID, true, 'D' ) . ' '; ?>
    42   <?php echo tribe_events_event_schedule_details(); ?>
    43 </div>

    2014-04-30 at 3.46 PM

    Does this make sense? Let me know if this doesn’t work for you.

    Cheers!

    – Casey Driscoll

    #161313
    Casey D
    Member

    Hello gpeery,

    We typically close threads if there is no activity after two weeks. Feel free to create a new thread and reference this one to save you time.

    Cheers!

    – Casey Driscoll

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Show Day as well as date’ is closed to new replies.