List Widget Display similar to Calendar Widget Display (List Portion)

Home Forums Calendar Products Events Calendar PRO List Widget Display similar to Calendar Widget Display (List Portion)

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #185109
    kalalau
    Participant

    I would like to format the List Widget display dates to show boxes similar to the Calendar Widget Display. I noticed you referenced this in a forum post at https://theeventscalendar.com/support/forums/topic/event-calendar-pro-widget-and-past-events/. I would like to have the dates display the month, day and year in the box. Is there a way to separate these parts of the date?

    #185202
    kalalau
    Participant

    After further research, I think I found a way to do this by using <?php echo tribe_get_start_date( $post->ID, false, ‘M’ ); ?>, etc. and placing these is a template override for the list-widget. Am I on the right track?

    #186866
    Barry
    Member

    Yes you’re definitely on the right track 🙂

    The list widget isn’t formatted quite like the list that appears below the calendar widget, but a template override is certainly the right way to go if you want to make them closer in appearance.

    #187243
    kalalau
    Participant

    Thank you. It’s working out well that way. I just had to rethink the way I was doing things after 3.6 came out, but that’s probably for the best. You can close this issue – thanks again!

    #187862
    Barry
    Member

    Awesome – thanks for the update 🙂

    If we can help with anything else please don’t hesitate to create a new thread (or threads) as needed.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘List Widget Display similar to Calendar Widget Display (List Portion)’ is closed to new replies.