WordPress New Powerful “orderby” replaces need for “meta_query”
I was late to the party finding out about the new powerful “orderby” argument that came along with WordPress 4.0. From the documentation: orderby accepts a string, representing a column on which to sort: 1 2 3 4 $q = new WP_Query( array( ‘orderby’ => ‘post_title’ ) ); // or an alias $q = new WP_Query( ..read more