Created
January 28, 2015 21:40
-
-
Save omurphy27/3a1757f895c592f88412 to your computer and use it in GitHub Desktop.
WP WooCommerce Override Container Hooks for Single Product.php
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
<?php | |
add_action('woocommerce_before_main_content', 'arom_before_main_content'); | |
function arom_before_main_content() { | |
echo '<div class="main-bg no-top-banner"> | |
<div class="container"> | |
<div id="content" class="row" > | |
<div id="main" class="interior col-sm-12" >'; | |
} | |
add_action('woocommerce_after_main_content', 'arom_after_main_content'); | |
function arom_after_main_content() { | |
echo '</div><!-- Close Main --> | |
</div><!-- Close Row --> | |
</div><!-- Close Container --> | |
</div><!-- Close Main-BG -->'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment