@@ 53-72 (lines=20) @@ | ||
50 | ||
51 | endif; |
|
52 | ||
53 | if ( ! function_exists( 'lsx_sensei_theme_wrapper_end' ) ) : |
|
54 | ||
55 | /** |
|
56 | * Sensei wrapper end. |
|
57 | * |
|
58 | * @package lsx |
|
59 | * @subpackage sensei |
|
60 | */ |
|
61 | function lsx_sensei_theme_wrapper_end() { |
|
62 | lsx_content_bottom(); |
|
63 | echo '</main>'; |
|
64 | lsx_content_after(); |
|
65 | echo '</div>'; |
|
66 | lsx_content_wrap_after(); |
|
67 | } |
|
68 | ||
69 | remove_action( 'sensei_after_main_content', array( $woothemes_sensei->frontend, 'sensei_output_content_wrapper_end' ), 10 ); |
|
70 | add_action( 'sensei_after_main_content', 'lsx_sensei_theme_wrapper_end' ); |
|
71 | ||
72 | endif; |
|
73 | ||
74 | if ( ! function_exists( 'lsx_sensei_disable_lsx_banner' ) ) : |
|
75 |
@@ 98-117 (lines=20) @@ | ||
95 | ||
96 | endif; |
|
97 | ||
98 | if ( ! function_exists( 'lsx_wc_theme_wrapper_end' ) ) : |
|
99 | ||
100 | /** |
|
101 | * WooCommerce wrapper end. |
|
102 | * |
|
103 | * @package lsx |
|
104 | * @subpackage woocommerce |
|
105 | */ |
|
106 | function lsx_wc_theme_wrapper_end() { |
|
107 | lsx_content_bottom(); |
|
108 | echo '</main>'; |
|
109 | lsx_content_after(); |
|
110 | echo '</div>'; |
|
111 | lsx_content_wrap_after(); |
|
112 | } |
|
113 | ||
114 | remove_action( 'woocommerce_after_main_content', 'woocommerce_output_content_wrapper_end', 10 ); |
|
115 | add_action( 'woocommerce_after_main_content', 'lsx_wc_theme_wrapper_end' ); |
|
116 | ||
117 | endif; |
|
118 | ||
119 | if ( ! function_exists( 'lsx_wc_disable_lsx_banner_plugin' ) ) : |
|
120 |