• Resolved blevley

    (@blevley)


    I have a listing of events on my homepage using this shortcode:
    [events_list limit=”20″ orderby=”event_start_date”]
    However, the events are not ordered by startdate, as you can see on my site: http://www.blevley.com

    Thanks,
    Ray.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi Ray,

    Try this:

    [events_list limit="20" orderby="event_start_date" order="ASC"]

    Thread Starter blevley

    (@blevley)

    I tried that, makes no difference. To make sure I also cleared all caching, but still the same result.

    If you try this version, is the order changed?

    [events_list limit="20" orderby="event_start_date" order="DESC"]

    Thread Starter blevley

    (@blevley)

    Actually there is a change, but not what I expected.
    You can see the result on my homepage (http://www.blevley.com), it’s really weird.
    I also tried messing with the “grouping” option (none, dayily, weekly), but that made no difference at all.

    Something is wrong with the way the shortcode has been pasted in because I’m seeing order=”ASC” on the page itself.

    Can you post the code / formatting that you’re using?

    Thread Starter blevley

    (@blevley)

    That’s correct, I added that so you can see which is ascending, descending or not sorted.

    Thread Starter blevley

    (@blevley)

    Okay, how dumb can I be? One of the events had 2017 as the year of the start date, instead of 2016 🙁
    Sorry for the trouble, everything works fine (again).

    Regards.

    No problem 🙂 Glad you got it sorted.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘orderedby in events_list’ is closed to new replies.