Created
December 27, 2012 08:16
-
-
Save kloon/4386516 to your computer and use it in GitHub Desktop.
WooCommerce theme wrapper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_action('woocommerce_before_main_content', 'my_theme_wrapper_start', 10); | |
| add_action('woocommerce_after_main_content', 'my_theme_wrapper_end', 10); | |
| function my_theme_wrapper_start() { | |
| echo '<div class="fixed">'; | |
| echo '<div class="content-home-right">'; | |
| } | |
| function my_theme_wrapper_end() { | |
| echo '</div>'; | |
| echo '</div>'; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment