Use WP_Query to retrieve Grouped Items only
Please forgive me if this is a RTFQ, but I have the following:
This is for a custom slider I’m working on.
$args = array( 'post_type' => 'product', 'posts_per_page' => 10,); $loop = new WP_Query( $args );
But I only want to show Grouped Items, and rather than filter at the end (cause I need a specific number of items) How would I use that as a query?
- The topic ‘Use WP_Query to retrieve Grouped Items only’ is closed to new replies.