Title: How to sort events using shortcode
Last modified: June 12, 2023

---

# How to sort events using shortcode

 *  Resolved [star_rider](https://wordpress.org/support/users/star_rider/)
 * (@star_rider)
 * [3 years ago](https://wordpress.org/support/topic/how-to-sort-events-using-shortcode/)
 * Hi,
 * Using this using shortcode [events_list scope=”all”] it displays a list of all
   events. Which is what I want. But…
 * It is showing them in reverse date order. By that I mean the oldest events are
   at the top of the list.
 * How can I update to shortcode so it shows the newest events at the top of the
   list?
 * Thanks 🙂
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhow-to-sort-events-using-shortcode%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [joneiseman](https://wordpress.org/support/users/joneiseman/)
 * (@joneiseman)
 * [3 years ago](https://wordpress.org/support/topic/how-to-sort-events-using-shortcode/#post-16811774)
 * Use the following shortcode:
 *     ```wp-block-code
       [events_list scope="all" order="desc"]
       ```
   
 * Here’s the documentation: [https://wp-events-plugin.com/documentation/event-search-attributes/](https://wp-events-plugin.com/documentation/event-search-attributes/)
    -  This reply was modified 3 years ago by [joneiseman](https://wordpress.org/support/users/joneiseman/).
 *  Thread Starter [star_rider](https://wordpress.org/support/users/star_rider/)
 * (@star_rider)
 * [2 years, 12 months ago](https://wordpress.org/support/topic/how-to-sort-events-using-shortcode/#post-16813797)
 * Thank you [@joneiseman](https://wordpress.org/support/users/joneiseman/)

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

The topic ‘How to sort events using shortcode’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

## Tags

 * [chronological order](https://wordpress.org/support/topic-tag/chronological-order/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 2 replies
 * 2 participants
 * Last reply from: [star_rider](https://wordpress.org/support/users/star_rider/)
 * Last activity: [2 years, 12 months ago](https://wordpress.org/support/topic/how-to-sort-events-using-shortcode/#post-16813797)
 * Status: resolved