Title: ajohn29's Replies | WordPress.org

---

# ajohn29

  [  ](https://wordpress.org/support/users/ajohn29/)

 *   [Profile](https://wordpress.org/support/users/ajohn29/)
 *   [Topics Started](https://wordpress.org/support/users/ajohn29/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ajohn29/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ajohn29/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ajohn29/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ajohn29/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ajohn29/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Category AJAX Filter — Advanced Filter for Posts & Custom Post Types] Change order of Filters](https://wordpress.org/support/topic/change-order-of-filters-3/)
 *  Thread Starter [ajohn29](https://wordpress.org/support/users/ajohn29/)
 * (@ajohn29)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/change-order-of-filters-3/#post-16355474)
 * I discovered the problem, thank you. This is now resolved.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Category AJAX Filter — Advanced Filter for Posts & Custom Post Types] Change The Order The Filters Appear In](https://wordpress.org/support/topic/change-the-order-the-filters-appear-in/)
 *  Thread Starter [ajohn29](https://wordpress.org/support/users/ajohn29/)
 * (@ajohn29)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/change-the-order-the-filters-appear-in/#post-16348202)
 * This is not resolved.
   Adding the code you provided to my theme’s functions.php
   file causes a critical error on my website.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Category AJAX Filter — Advanced Filter for Posts & Custom Post Types] Filter posts by Published Date in Descending order instead by Title in ascending](https://wordpress.org/support/topic/filter-posts-by-date-in-descending-order/)
 *  [ajohn29](https://wordpress.org/support/users/ajohn29/)
 * (@ajohn29)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/filter-posts-by-date-in-descending-order/#post-16346607)
 * Hi there,
 * You can make this change by going into the plugin files. Before doing anything,
   make sure to back up your site. Also, be sure you have FTP access in case something
   goes wrong.
   Open includes -> functions.phpOn line 151 of this file you will see:
   $default_order_by = ‘title’; Change title to date2 lines down you will see $default_order
   = “asc”; Change asc to desc.Hope this helps you!

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