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:
e46e18f
)
added slug ids to tags link
author
Anthony Talarico
<talarico@gaslightmedia.com>
Thu, 31 Dec 2015 15:59:55 +0000
(10:59 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Thu, 31 Dec 2015 15:59:55 +0000
(10:59 -0500)
views/product_detail.php
patch
|
blob
|
history
diff --git
a/views/product_detail.php
b/views/product_detail.php
index
540a936
..
a9210bc
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 '<a href="'. get_permalink(510) . '">'. $tag->name . '</a>' . "<br>"; ?>
+ <?php echo '<a
id="' . $tag->slug . '"
href="'. get_permalink(510) . '">'. $tag->name . '</a>' . "<br>"; ?>
<?php }?>
</div>
</div>