• Resolved internationaljack

    (@internationaljack)


    Is there a way to specify a date range of events to be shown in a given shortcode or widget?

    My client wants events to be grouped by month. The only solution I can think of is to have multiple shortcodes/widgets on a page, each limited to a one-month date range. Is that possible? I can’t really use the “offset” function because they are constantly adding and removing events, which would throw the numbering into chaos every time that happened.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Guido

    (@guido07111975)

    Hi,

    The only thing I can think of is adding a category to each event (june, july, etc) and use the category attribute.

    
    Events in June
    [vsel event_cat="june" pagination="false"]
    
    Events in July
    [vsel event_cat="july" pagination="false"]
    

    (and hide pagination to avoid conflict between the different event lists)

    Guido

    Thread Starter internationaljack

    (@internationaljack)

    That’s a good idea. I’ll be using a bunch of categories anyway, so adding month names won’t be hard. I’ll give that a try. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display only events in a specific date range’ is closed to new replies.