WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Use WP_Query to retrieve Grouped Items only (1 post)

  1. willenglishiv
    Member
    Posted 1 year ago #

    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?

    -Will

    http://wordpress.org/extend/plugins/woocommerce/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic