Is there a way to query all pages and order them by menu_order
but ignore those pages that the default value of 0
?
I was trying to do something like this:
$the_query = array(
'post_type' => self::POST_TYPE,
'posts_per_page' => $total,
'product_cat' => $product_category_name,
'orderby' => $orderby,
'suppress_filters' => '0'
);
Or do I need to create a filter to alter the WP_Query
? any ideas?
cheers