| @@ 50-68 (lines=19) @@ | ||
| 47 | ||
| 48 | endif; |
|
| 49 | ||
| 50 | if ( ! function_exists( 'lsx_tec_theme_wrapper_end' ) ) : |
|
| 51 | ||
| 52 | /** |
|
| 53 | * The Events Calendar wrapper end. |
|
| 54 | * |
|
| 55 | * @package lsx |
|
| 56 | * @subpackage the-events-calendar |
|
| 57 | */ |
|
| 58 | function lsx_tec_theme_wrapper_end() { |
|
| 59 | lsx_content_bottom(); |
|
| 60 | echo '</main>'; |
|
| 61 | lsx_content_after(); |
|
| 62 | echo '</div>'; |
|
| 63 | lsx_content_wrap_after(); |
|
| 64 | } |
|
| 65 | ||
| 66 | add_action( 'tribe_events_after_html', 'lsx_tec_theme_wrapper_end', 11 ); |
|
| 67 | ||
| 68 | endif; |
|
| 69 | ||
| 70 | if ( ! function_exists( 'lsx_tec_disable_lsx_banner' ) ) : |
|
| 71 | ||
| @@ 107-126 (lines=20) @@ | ||
| 104 | ||
| 105 | endif; |
|
| 106 | ||
| 107 | if ( ! function_exists( 'lsx_wc_theme_wrapper_end' ) ) : |
|
| 108 | ||
| 109 | /** |
|
| 110 | * WooCommerce wrapper end. |
|
| 111 | * |
|
| 112 | * @package lsx |
|
| 113 | * @subpackage woocommerce |
|
| 114 | */ |
|
| 115 | function lsx_wc_theme_wrapper_end() { |
|
| 116 | lsx_content_bottom(); |
|
| 117 | echo '</main>'; |
|
| 118 | lsx_content_after(); |
|
| 119 | echo '</div>'; |
|
| 120 | lsx_content_wrap_after(); |
|
| 121 | } |
|
| 122 | ||
| 123 | remove_action( 'woocommerce_after_main_content', 'woocommerce_output_content_wrapper_end', 10 ); |
|
| 124 | add_action( 'woocommerce_after_main_content', 'lsx_wc_theme_wrapper_end' ); |
|
| 125 | ||
| 126 | endif; |
|
| 127 | ||
| 128 | if ( ! function_exists( 'lsx_wc_disable_lsx_banner_plugin' ) ) : |
|
| 129 | ||