Changing date format in Events Lsit Widget

Home Forums Calendar Products Events Calendar PRO Changing date format in Events Lsit Widget

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #934399
    Anthony
    Participant

    Hi guys,

    In the default set-up for the Events List Widget, the day (eg Mon) and date is displayed in a little calender icon to the left of the event.
    I want to have it display the month (eg Jan) instead. I figured out that if I go to ‘views/pro/widgets/modules/single-event.php’ I can simply change the date format from ‘D’ to ‘M’ (on line 45). However this means that if I update the plug-in the change will be lost.
    Is there a smarter way of doing this, with a hook or function, that will be upgrade-proof?

    Thanks for any help you can give.

    #934651
    Brian
    Member

    Hi,

    Thanks for using our plugins.

    If you move that file to your theme based off the themer’s guide it does not get overwritten on plugin updates. (it would if you overwrote your theme)

    https://theeventscalendar.com/knowledgebase/themers-guide/

    It will look like this in your theme:

    yourtheme/tribe-events/pro/widgets/modules/single-event.php

    Let me know if you have any follow up questions.

    Thanks

    #943639
    Brian
    Member

    Since there is has not been any activity on this thread for over 2 weeks so I am now closing it. Feel free to start a new thread if you have further issues. Thanks! 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Changing date format in Events Lsit Widget’ is closed to new replies.