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

  1. willenglishiv
    Posted 2 years 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?



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic