Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php // Do not copy this line, start with line 3
- // Sensei unhook
- global $woothemes_sensei;
- remove_action( 'sensei_before_main_content', array( $woothemes_sensei->frontend, 'sensei_output_content_wrapper' ), 10 );
- remove_action( 'sensei_after_main_content', array( $woothemes_sensei->frontend, 'sensei_output_content_wrapper_end' ), 10 );
- add_action('sensei_before_main_content', 'my_theme_wrapper_start', 10);
- add_action('sensei_after_main_content', 'my_theme_wrapper_end', 10);
- function my_theme_wrapper_start() {
- echo '<div class="fl-content-full container">
- <div class="row">
- <div class="fl-content fl-content-left col-md-8">';
- }
- function my_theme_wrapper_end() {
- echo '</div>';
- get_sidebar();
- echo "</div>
- </div>";
- }
- add_action( 'after_setup_theme', 'declare_sensei_support' );
- function declare_sensei_support() {
- add_theme_support( 'sensei' );
- }
Add Comment
Please, Sign In to add comment