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:
fc81671
)
adjusted html tag placement
author
Anthony Talarico
<talarico@gaslightmedia.com>
Mon, 28 Dec 2015 19:31:06 +0000
(14:31 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Mon, 28 Dec 2015 19:31:06 +0000
(14:31 -0500)
views/product_detail.php
patch
|
blob
|
history
diff --git
a/views/product_detail.php
b/views/product_detail.php
index
839bb85
..
bb5efd9
100644
(file)
--- a/
views/product_detail.php
+++ b/
views/product_detail.php
@@
-12,7
+12,9
@@
$relatives = wp_get_post_terms($product->ID, 'michsci_category', $args);
<?php echo $product->post_title . "<br>"; ?>
-<?php
+
+<p id="tagList">
+ <?php
echo "Tags: ";
$args = array(
"hide_empty"=>false
@@
-20,8
+22,9
@@
$args = array(
$tags = wp_get_post_terms($product->ID,'michsci_tag', $args);
foreach ($tags as $tag){ ?>
-<
p id="tagList"> <?php echo $tag->name . ", "; ?> </p>
+<
?php echo $tag->name . ", "; ?>
<?php }?>
+</p>
<h2><?php echo $product->post_title; ?></h2>
<?php
setup_postdata( $product );