@@ -60,20 +60,8 @@ function init() {
6060 add_action ( 'admin_head ' , [$ this , 'elementor_hide_back_to_wp_editor_button ' ] );
6161 }
6262
63- if ($ settings ['elementor_hide_hello_elementor_page_title ' ]) {
64- add_filter ( 'hello_elementor_page_title ' , '__return_false ' );
65- }
66-
67- if ($ settings ['elementor_wrap_content ' ]) {
68- add_action ( 'elementor/theme/before_do_single ' , [$ this , 'main_open ' ] );
69- add_action ( 'elementor/theme/after_do_single ' , [$ this , 'main_close ' ] );
70-
71- add_action ( 'elementor/theme/before_do_archive ' , [$ this , 'main_open ' ] );
72- add_action ( 'elementor/theme/after_do_archive ' , [$ this , 'main_close ' ] );
73- }
74-
7563 if ($ settings ['elementor_subtle_fade_in_entrance_animations ' ]) {
76- add_action ( 'wp_enqueue_scripts ' , [$ this , 'elementor_subtle_fade_in_entrance_animations ' ] );
64+ add_action ( 'wp_enqueue_scripts ' , [$ this , 'elementor_subtle_fade_in_entrance_animations ' ], 9999 );
7765 }
7866 }
7967
@@ -105,20 +93,8 @@ function disable_user_endpoint( $endpoints ) {
10593 return $ endpoints ;
10694 }
10795
108- function main_open () {
109- ?>
110- <main id="content">
111- <?php
112- }
113-
114- function main_close () {
115- ?>
116- </main>
117- <?php
118- }
119-
12096 function elementor_subtle_fade_in_entrance_animations () {
121- wp_enqueue_style ('sd-elementor-subtle-fade-in-entrance-animations ' , plugin_dir_url (__DIR__ ) . 'assets/elementor-subtle-fade-in-entrance-animations.css ' , [ ' e-animations ' ] , '1.0.0 ' );
97+ wp_enqueue_style ('sd-elementor-subtle-fade-in-entrance-animations ' , plugin_dir_url (__DIR__ ) . 'assets/elementor-subtle-fade-in-entrance-animations.css ' , null , '1.0.0 ' );
12298 }
12399
124100 function add_registration_date_column ( $ columns ) {
0 commit comments