Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Adding new type Woocommerce Product Carousel to front page

Home / Forums / Virtue Theme / Adding new type Woocommerce Product Carousel to front page

This topic is: Not Resolved
[Not Resolved]
Posted in: Virtue Theme
August 1, 2017 at 12:07 pm

Hello,

I was wondering if it’s possible to add a custom query carousel with woocommerce products to the front page, such as new products, without needing to rewrite overwrite various template files etc.?

My query would look somewhat like this:

$args = array(
'post_type' => 'product',
'post_status' => 'publish',
'date_query' => array( 'after' => '1 month ago' ),
'posts_per_page' => -1,
);
$query = new WP_Query( $args );

Any ideas or hooks one could easily use?

Thanks

  • The forum ‘Virtue Theme’ is closed to new topics and replies.