projects
/
WP-Plugins
/
michsci-products.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a5d4ca
)
added tag links
author
Anthony Talarico
<talarico@gaslightmedia.com>
Wed, 30 Dec 2015 20:47:45 +0000
(15:47 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Wed, 30 Dec 2015 20:47:45 +0000
(15:47 -0500)
views/product_detail.php
patch
|
blob
|
history
diff --git
a/views/product_detail.php
b/views/product_detail.php
index
a7a63de
..
79f5752
100644
(file)
--- a/
views/product_detail.php
+++ b/
views/product_detail.php
@@
-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>