From 791bd0b6de0255aa9cde534be30ec796712eba94 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Wed, 22 Feb 2017 10:14:21 -0500 Subject: [PATCH] Fixing the frontpage products by editing the args of the wp_query product retrieval --- sections/front-page.php | 1 + 1 file changed, 1 insertion(+) diff --git a/sections/front-page.php b/sections/front-page.php index 3d524fa..417ddf1 100644 --- a/sections/front-page.php +++ b/sections/front-page.php @@ -72,6 +72,7 @@ 'post_type' => 'product', 'orderby' => 'menu_order', 'order' => 'ASC', + 'post_status' => 'published' ); $products = new WP_Query( $args ); echo "