'menu_order' not reordering items
-
I am using the query-based method, and it is not returning my posts in even remotely the same order as they are in the admin. My query is as follows:
$args = array( 'post_type' => 'products', 'orderby' => 'menu_order', 'order' => 'ASC', 'tax_query' => array( array( 'taxonomy' => 'collection', 'field' => 'id', 'terms' => $term_id, ) ) );
I’ve tried disabling my other plugins, and it hasn’t corrected the problem, nor has changing DESC/ASC. Any thoughts are very much appreciated!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘'menu_order' not reordering items’ is closed to new replies.