How to edit loop/loop-start.php?
-
Hi all,
In: “wp-content/themes/generatepress/woocommerce/loop/loop-start.php” the content is now: “<ul class=”products”>”
But I want for the Shop-base and Category page:
<ul class=”productsGrid”>And for the Subcategory (view products) page:
<ul class=”productsList”>I tried this:
if ( is_shop() || is_product_category() ) { echo "<ul class=products>"; } if ( is_product_tag() ) { echo "<ul class=productsList>"; }The Shop-base and Category page is showing correctly productsGrid, but the Subcategory (view products) page is also still productsGrid, while I want to show productsList
Thanks in advance!
The topic ‘How to edit loop/loop-start.php?’ is closed to new replies.