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:
b90cd93
)
For the_content to work
author
Steve Sutton
<steve@gaslightmedia.com>
Thu, 17 Dec 2015 17:27:08 +0000
(12:27 -0500)
committer
Steve Sutton
<steve@gaslightmedia.com>
Thu, 17 Dec 2015 17:27:08 +0000
(12:27 -0500)
views/product_detail.php
patch
|
blob
|
history
diff --git
a/views/product_detail.php
b/views/product_detail.php
index
f5abca6
..
f838fa3
100644
(file)
--- a/
views/product_detail.php
+++ b/
views/product_detail.php
@@
-1,3
+1,6
@@
<h2><?php echo $product->post_title; ?></h2>
- <?php echo $product->post_content; ?>
-
+ <?php
+ setup_postdata( $product );
+ the_content();
+?>
+