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:
d0d4426
)
added features meta field
author
Anthony Talarico
<talarico@gaslightmedia.com>
Mon, 28 Dec 2015 21:29:55 +0000
(16:29 -0500)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Mon, 28 Dec 2015 21:29:55 +0000
(16:29 -0500)
views/product_detail.php
patch
|
blob
|
history
diff --git
a/views/product_detail.php
b/views/product_detail.php
index
d401563
..
6fd7941
100644
(file)
--- a/
views/product_detail.php
+++ b/
views/product_detail.php
@@
-28,7
+28,11
@@
foreach ($tags as $tag){ ?>
<?php
setup_postdata( $product );
the_content();
- $meta = get_post_meta($product->ID);
+
+ $key_value = get_post_custom_values('miproduct_features', $product->ID);
+ foreach($key_value as $key=>$value){
+ echo $value;
+ }
?>