Title: Dequeue script and css if plugin not used
Last modified: August 22, 2022

---

# Dequeue script and css if plugin not used

 *  [gaet](https://wordpress.org/support/users/gaet/)
 * (@gaet)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/dequeue-script-and-css-if-plugin-not-used/)
 * Hi,
    Is it possible to dequeue scripts JS and CSS on pages on which filters are
   not available ?
 * Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [Giuseppe Madaudo](https://wordpress.org/support/users/askmagic/)
 * (@askmagic)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/dequeue-script-and-css-if-plugin-not-used/#post-15941279)
 * Hi there,
    for which pages do you want dequeue scripts JS and CSS ?
 *  Thread Starter [gaet](https://wordpress.org/support/users/gaet/)
 * (@gaet)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/dequeue-script-and-css-if-plugin-not-used/#post-15941321)
 * Plugin scripts JS and CSS are loaded everywhere, even if the filters are absents.
   For example, a legal terms page
 *  Plugin Support [Giuseppe Madaudo](https://wordpress.org/support/users/askmagic/)
 * (@askmagic)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/dequeue-script-and-css-if-plugin-not-used/#post-15945223)
 * Hi there,
    ok thank you for clarification, could you tell me in which page you
   want the script and the css? Or better could you tell me where the filters are
   present? So we can send you a code to dequeue everywhere exctept in the page 
   where the filter are present.
 *  Thread Starter [gaet](https://wordpress.org/support/users/gaet/)
 * (@gaet)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/dequeue-script-and-css-if-plugin-not-used/#post-15948500)
 * Filters are present in archive-product page only
 * thanks a lot

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Dequeue script and css if plugin not used’ is closed to new replies.

 * ![](https://ps.w.org/yith-woocommerce-ajax-navigation/assets/icon-256x256.gif?
   rev=3129944)
 * [YITH WooCommerce Ajax Product Filter](https://wordpress.org/plugins/yith-woocommerce-ajax-navigation/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yith-woocommerce-ajax-navigation/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yith-woocommerce-ajax-navigation/)
 * [Active Topics](https://wordpress.org/support/plugin/yith-woocommerce-ajax-navigation/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yith-woocommerce-ajax-navigation/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yith-woocommerce-ajax-navigation/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [gaet](https://wordpress.org/support/users/gaet/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/dequeue-script-and-css-if-plugin-not-used/#post-15948500)
 * Status: not resolved