projects
/
WP-Themes
/
icebreaker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
44f2878
)
adding woocommerce support in functions file
author
Anthony Talarico
<talarico@gaslightmedia.com>
Wed, 9 May 2018 14:20:58 +0000
(10:20 -0400)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Wed, 9 May 2018 14:20:58 +0000
(10:20 -0400)
functions.php
patch
|
blob
|
history
diff --git
a/functions.php
b/functions.php
index
5937126
..
afac622
100644
(file)
--- a/
functions.php
+++ b/
functions.php
@@
-198,6
+198,12
@@
if (!function_exists('is_in_tree')) {
return false;
}
}
+
+add_action( 'after_setup_theme', 'woocommerce_support' );
+function woocommerce_support() {
+ add_theme_support( 'woocommerce' );
+}
+
add_action('thematic_searchloop', 'mytheme_search_loop');
// End of the Contextual/Highlight Search functions
?>