• Resolved tcgraham

    (@tcgraham)


    Good day. I’ve been using several methods in an attempt to separate my event lists by date ranges, such as one for 2018-1-1 through 2018-1-15, then a separate list for 2018-16-31. Ideally I’m trying to have them both on the same page with a banner below the first list and above the second list.

    If anyone could simply point me in the right direction, or offer any tips as to the best method for doing that, it would be greatly appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    just to confirm, did you already tried shortcode [events_list scope=”2018-16-31″ limit=10 pagination=1] or [events_list scope=”2018-09-25,2018-11-29″ limit=10 pagination=1]

    https://wp-events-plugin.com/documentation

    Thread Starter tcgraham

    (@tcgraham)

    Hi Angelo. Thank you for a timely reply!

    https://new.artsandcraftshows-usa.com/january-2018/

    I certainly did try using scope. As of this posting, the below code is what I have on the above page, but each list format seems to come out showing all events regardless of their dates.

    [events_list scope="2018-1-1,2018-1-15" orderby=event_start_date,state,town]
    <br>
     [events_list scope=”2018-16-31″ limit=10 pagination=1] 
    <br>
    [events_list scope=”2018-09-25,2018-11-29″ limit=10 pagination=1]

    I also currently have all other plug-ins deactivated and the theme set to Twenty Twelve.

    • This reply was modified 7 years, 1 month ago by tcgraham.
    • This reply was modified 7 years, 1 month ago by tcgraham.

    There seems to be bug relating to using dates with scope in that shortcode, which I’ve just sent on to the developer team.

    We’ll update this thread when there’s news of a fix.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    Turns out it’?s not a bug, rather a formatting issue with your dates. You need to use the YYYY-MM-DD format, so for

    2018-1-1 through 2018-1-15

    You want to use 2018-01-01,2018-01-15 (note the padded 0s)

    That’s why for example 2018-12-31 will work as all the digits are there. We’ll adjust the way this works so it accounts for the format you use, but I’d say ideally still use the full YYYY-MM-DD format.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Having trouble separating event lists by date.’ is closed to new replies.