added tag links
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 30 Dec 2015 20:47:45 +0000 (15:47 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 30 Dec 2015 20:47:45 +0000 (15:47 -0500)
views/product_detail.php

index a7a63de..79f5752 100644 (file)
@@ -44,7 +44,7 @@ $relatives = wp_get_post_terms($product->ID, 'michsci_category', $args);
             );
             $tags = wp_get_post_terms($product->ID,'michsci_tag', $args);
             foreach ($tags as $tag){ ?>
-                <?php echo  $tag->name . "<br>"; ?> 
+                <?php echo '<a href="'.  get_permalink(510) . '">'. $tag->name . '</a>' . "<br>"; ?> 
             <?php }?>
         </div>
 </div>