Title: Posts Order By a custom variable
Last modified: March 6, 2023

---

# Posts Order By a custom variable

 *  Resolved [chemboy](https://wordpress.org/support/users/chemboy/)
 * (@chemboy)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/posts-order-by-a-custom-variable/)
 * hello caf team
 * i have category ajax filter pro and would like to sort my event filter’s Posts
   Order By setting to a specific variable, one called ‘event_startdate’. this date
   differs from the post date, which is typically some time before the event start
   date itself.
 * is there a way to hack the plugin file to make this happen?
 * thanks
   keef
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fposts-order-by-a-custom-variable%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Trusty Plugins](https://wordpress.org/support/users/trustyplugins/)
 * (@trustyplugins)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/posts-order-by-a-custom-variable/#post-16542306)
 * Hi [@chemboy](https://wordpress.org/support/users/chemboy/) ,
 * If you are using PRO version then please contact to the PRO team from our official
   website.
 * Thanks,
 * Trusty Plugins Team
 *  Thread Starter [chemboy](https://wordpress.org/support/users/chemboy/)
 * (@chemboy)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/posts-order-by-a-custom-variable/#post-16542891)
 * okay thanks

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

The topic ‘Posts Order By a custom variable’ is closed to new replies.

 * ![](https://ps.w.org/category-ajax-filter/assets/icon-256x256.png?rev=2410607)
 * [Category AJAX Filter — Advanced Filter for Posts & Custom Post Types](https://wordpress.org/plugins/category-ajax-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/category-ajax-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/category-ajax-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/category-ajax-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/category-ajax-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/category-ajax-filter/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [chemboy](https://wordpress.org/support/users/chemboy/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/posts-order-by-a-custom-variable/#post-16542891)
 * Status: resolved