I'm showing of a custom post type (products) on a page - that I'm already querying to use targeted queries based on URL calls.
if(isset($_GET)) $options = $_GET; $posts = new WP_Query( array( 'post_type' => 'product', 'showposts' => 30, 'orderby' => $options['orderby'], 'order' => $options['order'], 'paged' => $paged, 'developer' => $options['developer'], ));
I want to do two things.
1) Pull out connected meta information for each of the posts matching this query.
2) Add another layer to this query and sort by a connected meta query (in this case "rating"). So in essence it would display all of the products in order of their rating.
How would I go about achieving this?