added product tags to the out of the products in the list-product view file
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 17 Dec 2015 13:59:05 +0000 (08:59 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 17 Dec 2015 13:59:05 +0000 (08:59 -0500)
views/list_products.php

index a2f31a5..04118ab 100644 (file)
@@ -1,14 +1,14 @@
 <div class="row">
     <?php if ( isset( $products ) && is_array( $products ) ) : foreach ( $products as $product ) : ?>
-        <div class="small-12 medium-3 columns<?php if ($product->end){ echo ' end';}?>">
+        <div class="product small-12 medium-3 columns<?php if ($product->end){ echo ' end';}?>">
             <div class="row">
-                <div class="small-12 columns"><a href="<?php echo $product->href; ?>">
+                <div class="prodImg small-12 columns"><a href="<?php echo $product->href; ?>">
             <?php echo get_the_post_thumbnail( $product->ID, 'post-thumbnail' ); ?></a>
                 </div>
-                <div class="small-12 columns">
+                <div class="subCat small-12 columns">
                     <a href="<?php echo $product->href; ?>"><?php echo $product->term; ?></a>
                 </div>
-                <div class="small-12 columns">
+                <div class="prodTitle small-12 columns">
                     <a href="<?php echo $product->href; ?>"><strong><?php echo $product->post_title; ?></strong></a>
                 </div>
             </div>