Title: How to edit loop/loop-start.php?
Last modified: August 22, 2016

---

# How to edit loop/loop-start.php?

 *  [multitaste](https://wordpress.org/support/users/multitaste/)
 * (@multitaste)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/how-to-edit-looploop-startphp/)
 * 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!
 * [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)

The topic ‘How to edit loop/loop-start.php?’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [multitaste](https://wordpress.org/support/users/multitaste/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/how-to-edit-looploop-startphp/)
 * Status: not resolved