Title: Shortcode order doesn&#8217;t work
Last modified: May 4, 2022

---

# Shortcode order doesn’t work

 *  Resolved [Lukáš Bachleda – LavaDESIGN](https://wordpress.org/support/users/lavadesign/)
 * (@lavadesign)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-order-doesnt-work/)
 * Hello, I am using this shortcode:
 * `[events layout_type='list' orderby='event_start_date' order='ASC']`
    However
   it doesn’t work. It combines years, seems like years of events are ignored. Could
   you please check the issue on [https://aveprosperita.sk/kalendar/#events](https://aveprosperita.sk/kalendar/#events)
   and tell, what’s wrong?

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

 *  [Priya Goenka](https://wordpress.org/support/users/priyagoenka/)
 * (@priyagoenka)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-order-doesnt-work/#post-15617132)
 * Hi [@lavadesign](https://wordpress.org/support/users/lavadesign/)
 * Please make sure, you are using the latest version of the core plugin.
 * Secondly, make sure you are having start and end date and time for all your events.
   It will start working.
 * Regards,
    Priya
 *  Thread Starter [Lukáš Bachleda – LavaDESIGN](https://wordpress.org/support/users/lavadesign/)
 * (@lavadesign)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-order-doesnt-work/#post-15619457)
 * Hello, we have upgraded all plugins, wp core and themes, and set start&end date
   for all events. We are using this shortcode
    `[events layout_type='list' orderby
   ='event_start_date' order='desc']` The order is not good, you can see year 2022
   as first, then few of 2021 and again 2022?!
 * When I change the order=’desc’ to order=’asc’ -> nothing happen. Order is not
   opposite. I think something is wrong with your shortcode.
 * I would rather don’t use the shortcode, however in widget I am not able to display“
   list” by default, but tiles. I need to display list instead of tiles. Thank you
 *  [Priya Goenka](https://wordpress.org/support/users/priyagoenka/)
 * (@priyagoenka)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-order-doesnt-work/#post-15634445)
 * Hi [@lavadesign](https://wordpress.org/support/users/lavadesign/)
 * There is no start and end timings to your events.
 * Regards,
    Priya

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

The topic ‘Shortcode order doesn’t work’ is closed to new replies.

 * ![](https://ps.w.org/wp-event-manager/assets/icon-256x256.png?rev=1622826)
 * [WP Event Manager – Events Calendar, Registrations, Sell Tickets with WooCommerce](https://wordpress.org/plugins/wp-event-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-event-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-event-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-event-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-event-manager/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Priya Goenka](https://wordpress.org/support/users/priyagoenka/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/shortcode-order-doesnt-work/#post-15634445)
 * Status: resolved