@@ 70-89 (lines=20) @@ | ||
67 | ||
68 | endif; |
|
69 | ||
70 | if ( ! function_exists( 'lsx_wc_theme_wrapper_start' ) ) : |
|
71 | ||
72 | /** |
|
73 | * WooCommerce wrapper start. |
|
74 | * |
|
75 | * @package lsx |
|
76 | * @subpackage woocommerce |
|
77 | */ |
|
78 | function lsx_wc_theme_wrapper_start() { |
|
79 | lsx_content_wrap_before(); |
|
80 | echo '<div id="primary" class="content-area ' . esc_attr( lsx_main_class() ) . '">'; |
|
81 | lsx_content_before(); |
|
82 | echo '<main id="main" class="site-main" role="main">'; |
|
83 | lsx_content_top(); |
|
84 | } |
|
85 | ||
86 | remove_action( 'woocommerce_before_main_content', 'woocommerce_output_content_wrapper', 10 ); |
|
87 | add_action( 'woocommerce_before_main_content', 'lsx_wc_theme_wrapper_start' ); |
|
88 | ||
89 | endif; |
|
90 | ||
91 | if ( ! function_exists( 'lsx_wc_theme_wrapper_end' ) ) : |
|
92 |
@@ 44-62 (lines=19) @@ | ||
41 | ||
42 | endif; |
|
43 | ||
44 | if ( ! function_exists( 'lsx_tec_theme_wrapper_start' ) ) : |
|
45 | ||
46 | /** |
|
47 | * The Events Calendar wrapper start. |
|
48 | * |
|
49 | * @package lsx |
|
50 | * @subpackage the-events-calendar |
|
51 | */ |
|
52 | function lsx_tec_theme_wrapper_start() { |
|
53 | lsx_content_wrap_before(); |
|
54 | echo '<div id="primary" class="content-area ' . esc_attr( lsx_main_class() ) . '">'; |
|
55 | lsx_content_before(); |
|
56 | echo '<main id="main" class="site-main" role="main">'; |
|
57 | lsx_content_top(); |
|
58 | } |
|
59 | ||
60 | add_action( 'tribe_events_before_html', 'lsx_tec_theme_wrapper_start', 9 ); |
|
61 | ||
62 | endif; |
|
63 | ||
64 | if ( ! function_exists( 'lsx_tec_theme_wrapper_end' ) ) : |
|
65 |