From: Laury GvR Date: Tue, 21 Feb 2017 21:36:26 +0000 (-0500) Subject: Trying to fix woocommerce not showing certain categories on the frontpage X-Git-Tag: v1.0.16^2~6 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=b0019c0eece45d1b43817fd294cec86b72baf7e0;p=WP-Themes%2Fcapstone.git Trying to fix woocommerce not showing certain categories on the frontpage --- 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 "