Do not use wp_print_styles
-
I saw in the function wsl_add_stylesheets() you use
wp_print_styles()
to add your own stylesheet.As written in the Codex, you should not use this function to enqueue styles for the frontend.
Use wp_enqueue_scripts, not wp_print_styles, to enqueue scripts and styles for the frontend
I want to remove your stylesheet, for performance reasons, as I have mine, but I can’t do because of that…
https://www.ads-software.com/plugins/wordpress-social-login/
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Do not use wp_print_styles’ is closed to new replies.