Date (month) within widget

Home Forums Calendar Products Events Calendar PRO Date (month) within widget

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1049822
    Arrick Garringer
    Participant

    We are loving the Events Cal Pro tool, but are getting consistent feedback that the date icon on the lister is confusing. People can’t tell what month the event is in without viewing the full event detail.

    Screenshot: https://www.dropbox.com/s/ya93e0w9yhepjka/Screenshot%202016-01-04%2010.29.39.png?dl=0

    We like how it looks, but because it only shows the day of the week and date (no month) people aren’t sure when the event is without clicking. Is it possible to “Show Date” which would allow the full date to live below the event title? ie. “April 30, 2016”?

    #1050697
    Geoff
    Member

    Hey Arrick,

    Thanks for the kind words! I’m stoked to hear you’re loving the plugin so far. 🙂

    Good question. You can change the format of the date in the icon. You’ll need to override the pro/widgets/modules/single-event.php file–see our Themer’s Guide for more on template overrides.

    From there, you can change the code for the list date to something that suits your needs. For example, this might be a decent starting place:

    <div class="list-date">
    <span
    class="list-dayname"><?php echo apply_filters( 'tribe-mini_helper_tribe_events_ajax_list_dayname', date_i18n( 'M', $postDate ), $postDate, $mini_cal_event_atts['class'] ); ?></span>
    <span
    class="list-daynumber"><?php echo apply_filters( 'tribe-mini_helper_tribe_events_ajax_list_daynumber', date_i18n( 'd', $postDate ), $postDate, $mini_cal_event_atts['class'] ); ?></span>
    </div>

    That will return the abbreviated Month name instead of the day of the week. 🙂

    Will that help you get started? Please let me know.

    Cheers!
    Geoff

    #1076482
    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 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Date (month) within widget’ is closed to new replies.