Enable stye and script only in some page
-
I all.
The plugin loads on all pages of the site, for better performance, i want load only in page where I use it.
I use the action wp_print_scripts and wp_print_style in functions.php, but i don’t found the “name” of plugin to use in deregister instruction:
wp_deregister_style( ‘plugin_name’ );
wp_deregister_script( ‘plugin_name’ );Can you help me?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Enable stye and script only in some page’ is closed to new replies.