I want to show 8 recent products from multiple authors on the frontpage. Need to show 1 recent product per author.
Currently i'm using basic wp query to show recent 8 products.
$args = array ( 'post_type' => array( 'product' ), 'posts_per_page' => '8', 'order' => 'DESC', 'orderby' => 'date', ); // The Query $query = new WP_Query( $args );
What's the best way to achieve this?