added div to tags section
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 30 Dec 2015 15:43:04 +0000 (10:43 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 30 Dec 2015 15:43:04 +0000 (10:43 -0500)
views/product_detail.php

index fd3869a..9681b95 100644 (file)
@@ -27,16 +27,8 @@ $relatives = wp_get_post_terms($product->ID, 'michsci_category', $args);
                 $shortcode_output = do_shortcode($value);
                 print $shortcode_output;
         }?>
+        
     </div>
-
-
-<!--     <div class="productFeature small-12 columns">
-    <h2> Features </h2>
-    <?php 
-    //$key_value = get_post_custom_values('miproduct_features', $product->ID); 
-    //foreach($key_value as $key=>$value){
-       // echo $value; }?>
-     </div>-->
     <div class="description small-12 medium-7 columns">
         <?php
             setup_postdata( $product );
@@ -45,24 +37,18 @@ $relatives = wp_get_post_terms($product->ID, 'michsci_category', $args);
     </div>
     <div class="gallery small-12 medium-4 columns">
           <?php echo '<a href="#glm_gallery"> Gallery </a>'; ?>
-    </div>
-
-</div>
-<div class='row'>
-     <div id="tagList" class="small-12 medium-6 columns"> 
-    <?php
-    echo '<strong> Tags: </strong>'; 
-        $args = array(
-        "hide_empty"=>false
-    );
-    $tags = wp_get_post_terms($product->ID,'michsci_tag', $args);
-    foreach ($tags as $tag){ ?>
-    
-    <?php echo  $tag->name . " "; ?> 
-    <?php }?>
-    </p>
+          <div id="tags">
+          <?php echo "<strong> &nbsp&nbsp Tags </strong><br>"; 
+                $args = array(
+                "hide_empty"=>false
+            );
+            $tags = wp_get_post_terms($product->ID,'michsci_tag', $args);
+            foreach ($tags as $tag){ ?>
+                <?php echo  $tag->name . "<br>"; ?> 
+            <?php }?>
+        </div>
 </div>
+        
+    </div>
 
 </div>
-
-