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:
33a3d57
)
removed var dump
author
Anthony Talarico
<talarico@gaslightmedia.com>
Tue, 22 Dec 2015 18:36:28 +0000
(13:36 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Tue, 22 Dec 2015 18:36:28 +0000
(13:36 -0500)
views/product_detail.php
patch
|
blob
|
history
diff --git
a/views/product_detail.php
b/views/product_detail.php
index
adc5fa3
..
7d8f2af
100644
(file)
--- a/
views/product_detail.php
+++ b/
views/product_detail.php
@@
-5,8
+5,7
@@
$args = array(
);
$relatives = wp_get_post_terms($product->ID, 'michsci_category', $args);
-//$relatives = array_reverse($array);
-print_r($relatives);?>
+?>
<?php foreach($relatives as $relative){
echo "<a href='#'>" . $relative->name . "</a>" . " > ";
} ?>