From b0019c0eece45d1b43817fd294cec86b72baf7e0 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Tue, 21 Feb 2017 16:36:26 -0500 Subject: [PATCH] Trying to fix woocommerce not showing certain categories on the frontpage --- parts/shop-cats-and-products.php | 1 - sections/front-page.php | 1 - 2 files changed, 2 deletions(-) diff --git a/parts/shop-cats-and-products.php b/parts/shop-cats-and-products.php index f752d33..e7fc0c8 100644 --- a/parts/shop-cats-and-products.php +++ b/parts/shop-cats-and-products.php @@ -24,7 +24,6 @@ 'post_type' => 'product', 'orderby' => 'menu_order', 'order' => 'ASC', - 'perm' => 'readable' ); $products = new WP_Query( $args ); if ($products->have_posts()) { ?> diff --git a/sections/front-page.php b/sections/front-page.php index 9890024..8e6b4b0 100644 --- a/sections/front-page.php +++ b/sections/front-page.php @@ -71,7 +71,6 @@ 'post_type' => 'product', 'orderby' => 'menu_order', 'order' => 'ASC', - 'perm' => 'readable' ); $products = new WP_Query( $args ); echo "