Support » Plugin: Easy FancyBox » disable easyfancybox on a specific page

Viewing 1 replies (of 1 total)
  • Plugin Author RavanH

    (@ravanh)

    Yes, you could use these:

    wp_deregister_script('jquery.mousewheel');
    wp_deregister_script('jquery.metadata');
    wp_deregister_script('jquery.fancybox');
    wp_dequeue_style('easy-fancybox.css');

    or if you want to use remove_action, these might work:

    remove_action('wp_print_styles', 'easy_fancybox_enqueue_styles');
    remove_action('wp_enqueue_scripts', 'easy_fancybox_enqueue_scripts');
    remove_action('wp_head', 'easy_fancybox');
    remove_action('plugins_loaded','easy_fancybox_textdomain');
    remove_action('init','easy_fancybox_init');

Viewing 1 replies (of 1 total)
  • The topic ‘disable easyfancybox on a specific page’ is closed to new replies.