• Resolved sassymonkey

    (@sassymonkey)


    NEED:
    I just want upcoming events to appear in ascending order (nearest event first later events last) with none of the past events showing at all when using the shortcode. I’ve combed the docs and forums but the solutions aren’t working.

    TRIED:
    Here’s the shortcode I’m testing with: [events per_page=”6″ orderby=”event_start_date”]. There doesn’t seem to be a shortcode attribute listed on the official Event Listing page (https://wp-eventmanager.com/knowledge-base/the-event-listings/) that makes past events disappear.

    PLUGIN SETTINGS DON’T HELP:
    I know about the Event Manager > Settings > Event Listings > Hide Expired Listings / Hide Expired Listings Content checkboxes. They are both checked in my setup, but neither remove past events when rendering via the shortcode (see here: https://www.somovillage.com/events/#events where events continue on and on in the past when they shouldn’t after selecting the LOAD MORE button).

    HELP PLEASE:
    Am I missing something really obvious and there’s some method to accomplish this basic need? Thanks for any help.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @sassymonkey

    Please use: [events per_page=”6″ orderby=”event_start_date” order=”ASC”]
    Make sure you have start and end date and time for all your events.

    Regards,
    Priya

    Thread Starter sassymonkey

    (@sassymonkey)

    Thank you, Priya!

    I was using the shortcode above but events going back to 2019 were appearing first in the list.

    The key here is expiration. Unfortunately, I was NOT setting end dates on any events with just one date so few were expiring automatically thereby showing when orderby=”event_start_date” is used.

    Now my assumption is that by explicitly setting an end date on every event, they’ll expire and then fall off the list generated but the above shortcode.

    SIMPLE FEATURE REQUEST
    Manually setting an end date on single day events seems redundant though. Why can’t the plugin assume the event expires after the day/time of the single date event?

    Better yet, provide a setting that is default off for this feature but can be turned on. Something like a checkbox with this label: Allow single day events to expire automatically at the event’s start day and time.

    Hi @sassymonkey

    This feature is already present when the events are submitted from the frontend.
    The event submission setting allows user to set end date as expiry date, but only when event is submitted from frontend.

    Since backend is an admin panel, and hence, we have given the liberty and allowance and compoulsion for admins to mention expiry dates as a seperate field.

    Regards,
    Priya

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to only show upcoming events in ASC order via shortcode’ is closed to new replies.