Title: activate plugin in specific page
Last modified: August 30, 2020

---

# activate plugin in specific page

 *  Resolved [dalpho](https://wordpress.org/support/users/dalpho/)
 * (@dalpho)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/activate-plugin-in-specific-page/)
 * activate plugins on selected pages
    Hi, congratulations on your work. I am testing
   your plugin on xampp and it seems to work fine, the only thing I don’t like is
   that I can’t select the page where to use it, and therefore I have the code of
   this plugin even in pages where there is no video. how can i disable in unused
   pages? A tip for the next update you could put in the panel of the article page
   together where you choose the quality a check to choose whether or not to activate
   the plugin on that page or article so as not to load css and javascript unnecessary.
   thank you

Viewing 1 replies (of 1 total)

 *  Plugin Author [kevinweber](https://wordpress.org/support/users/kevinweber/)
 * (@kevinweber)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/activate-plugin-in-specific-page/#post-13336126)
 * Hi [@dalpho](https://wordpress.org/support/users/dalpho/), have you tried turning
   on the “Only load CSS/JS when needed” checkbox? It’s the first option in the 
   plugin’s admin panel. When checked, the scripts should only load for posts with
   an oembed script in it. Unfortunately, if your post embeds any other type of 
   oembed (e.g. a SoundCloud player), the scripts will still be loaded if if there’s
   no Youtube oembed.
 * [FYI: I just realized the latter, and inspired by this I already implemented 
   a change to only load the correct scripts if Youtube and/or Vimeo embeds are 
   present. I’ll publish that change in a few days; you can look forward to v2.11,
   or you can already download the updated code from Github: [https://github.com/kevinweber/lazy-load-for-videos%5D](https://github.com/kevinweber/lazy-load-for-videos%5D)

Viewing 1 replies (of 1 total)

The topic ‘activate plugin in specific page’ is closed to new replies.

 * ![](https://ps.w.org/lazy-load-for-videos/assets/icon.svg?rev=3348904)
 * [Lazy Load for Videos](https://wordpress.org/plugins/lazy-load-for-videos/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lazy-load-for-videos/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lazy-load-for-videos/)
 * [Active Topics](https://wordpress.org/support/plugin/lazy-load-for-videos/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lazy-load-for-videos/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lazy-load-for-videos/reviews/)

## Tags

 * [select page](https://wordpress.org/support/topic-tag/select-page/)
 * [specific page](https://wordpress.org/support/topic-tag/specific-page/)

 * 1 reply
 * 2 participants
 * Last reply from: [kevinweber](https://wordpress.org/support/users/kevinweber/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/activate-plugin-in-specific-page/#post-13336126)
 * Status: resolved