Title: Event Category Ordering
Last modified: August 22, 2016

---

# Event Category Ordering

 *  [sumero](https://wordpress.org/support/users/sumero/)
 * (@sumero)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/event-category-ordering/)
 * Hello,
 * I have add category like 3,4,5,6….15 those are ages. When I get it on single 
   event page with shortcode #_CATEGORIES I see its 10,11,12,13,14,15,3,4,5,6,7,8,9.
   I you can see its a ordering issue. how can I fix this?
 * Thanks
 * [https://wordpress.org/plugins/events-manager/](https://wordpress.org/plugins/events-manager/)

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

 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/event-category-ordering/#post-5712304)
 * hi,
 * you can see settings under Events > Settings > Pages > Event Categories > Default
   category list options > Default list ordering
 *  Thread Starter [sumero](https://wordpress.org/support/users/sumero/)
 * (@sumero)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/event-category-ordering/#post-5712314)
 * Thanks for reply,
 * I did tried from there but unfortunately this doesn’t affect to list even basically
   I change ACS to DESC.
    BTW, (it doesn’t has to affect) I moved templates file
   under theme. But where I got this issue is on Events>Settings>Format>Events>Default
   event list format OR Single etkinlik page format
 *  Thread Starter [sumero](https://wordpress.org/support/users/sumero/)
 * (@sumero)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/event-category-ordering/#post-5712407)
 * Any comment for this?
 * Thanks
 *  Plugin Support [angelo_nwl](https://wordpress.org/support/users/angelo_nwl/)
 * (@angelo_nwl)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/event-category-ordering/#post-5712408)
 * maybe you can try to modify template file under events-manager/templates/placeholders/
   categories.php then use php sort functions
 * eg. might not work out of the box but something like this
 *     ```
       <ul class="event-categories">
       	<?php sort($EM_Event->get_categories()); ?>
       	<?php foreach($EM_Event->get_categories() as $EM_Category): ?>
       ```
   
 * to use templates: [http://wp-events-plugin.com/documentation/using-template-files/](http://wp-events-plugin.com/documentation/using-template-files/)
 * [http://php.net/manual/en/array.sorting.php](http://php.net/manual/en/array.sorting.php)
 *  Thread Starter [sumero](https://wordpress.org/support/users/sumero/)
 * (@sumero)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/event-category-ordering/#post-5712409)
 * Its something like this
 * `<?php sort($EM_Event->get_categories()->categories); ?>`
 * Only this use sort from _terms table sorting. Anyway problem is solve state for
   now.
 * Thanks

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

The topic ‘Event Category Ordering’ 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

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

 * 5 replies
 * 2 participants
 * Last reply from: [sumero](https://wordpress.org/support/users/sumero/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/event-category-ordering/#post-5712409)
 * Status: not resolved