Don't display month twice in Events List time range

Home Forums Calendar Products Events Calendar PRO Don't display month twice in Events List time range

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1218536
    Hovig
    Participant

    Hi guys,

    Thanks again for a great plugin.
    Need your help please.

    When an event has a time range in the Events List widget, I would like the month to only display once.
    For example: January 16-20 and NOT January 16-January 20

    Need this to save layout space. Possible? Just for the widget.

    And also, is there a way to use month abbreviations, like Jan instead of January.

    Thanks as ever.

    #1219189
    Cliff
    Member

    Hi, Hovig.

    If I’m understanding your question accurately, our Event List widget already appears as you’re desiring: https://cl.ly/1f3A42382T3p

    You may need to play with your Date Format settings at wp-admin > Events > Settings > Display tab and/or wp-admin > Settings > General

    Please let me know how this goes for you.

    #1220329
    Hovig
    Participant

    Hi Cliff,

    Thanks for your reply. I was able to change the format to use the abbreviation of the month (3 letters) via the settings, as you suggested.

    But I still can’t find a way to remove the second display of a month when an event’s time range is within that same month. Any suggestions or coding for that?

    As I mentioned before, an example would be an event that runs from Jan 16-20. In the list widget, it shows as :
    Jan 16-Jan 20 but I would like it to be Jan 16-20 (without the second Jan).

    Thanks again.

    #1220497
    Cliff
    Member

    I believe my previous screenshot appears the way you’re describing.

    However, if you want to customize the output of the List Widget, you can reference our Themer’s Guide to customize one or both of these files:

    • /wp-content/plugins/the-events-calendar/src/views/widgets/list-widget.php
    • /wp-content/plugins/events-calendar-pro/src/views/pro/widgets/list-widget.php

    If there’s a code snippet you’d like me to put some eyes on or something else I can help you with, please update this ticket or create a new ticket if it’s a separate issue.

    If you need some coding help, you may want to ask your developer or reference our documentation and list of known customizers.

    #1232081
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Don't display month twice in Events List time range’ is closed to new replies.