How to get_posts where ‘menu_order’ is more than 0/zero?
Karun’s answer made me look more into the posts_where filter to find a better solution to hook into the WP_Query. After a bit more google searching I found this page that did it in a better way. Using that method I finally got it to work like this: add_filter(‘posts_where’, function ($where, $query) { global $wpdb; … Read more