projects
/
WP-Themes
/
ParrotsLanding.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da2515a
)
Declare WooCommerce Support
author
Laury GvR
<laury@gaslightmedia.com>
Thu, 16 Oct 2014 20:32:34 +0000
(16:32 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Thu, 16 Oct 2014 20:32:34 +0000
(16:32 -0400)
functions.php
patch
|
blob
|
history
diff --git
a/functions.php
b/functions.php
index
e2e43f4
..
5682692
100644
(file)
--- a/
functions.php
+++ b/
functions.php
@@
-68,6
+68,10
@@
if (!function_exists('glmAddSubs')) {
}
}
+add_action( 'after_setup_theme', 'woocommerce_support' );
+ function woocommerce_support() {
+add_theme_support( 'woocommerce' );
+}
// This theme only works in WP version 3.6 or higher.
//if ( version_compare( $GLOBALS['wp_version'], '3.6', '<' ) ) {