Title: Code on every page?
Last modified: February 21, 2018

---

# Code on every page?

 *  Resolved [sdawales](https://wordpress.org/support/users/sdawales/)
 * (@sdawales)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/code-on-every-page/)
 * Hello, First off I would just like to say thank you for a fantastic plugin. I
   have used a lot and this one is the simplest to setup and I got to be honest,
   has the best looking page design. I love it.
 * The question I have today is it appears that after installing the plugin on my
   site that uses Divi theme, all pages on the site have a call to [https://www.youtube.com/iframe_api](https://www.youtube.com/iframe_api)
   even when there are no videos on those pages.
 * Is there any way to only load on pages actually using video? It looks like it
   is just adding unused css, ect to my pages. Thanks.

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

 *  Plugin Author [embedplus](https://wordpress.org/support/users/embedplus/)
 * (@embedplus)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/code-on-every-page/#post-10004122)
 * Thanks for the compliment.
 * Are you referring to somehow not loading any of the plugin’s scripts and CSS 
   on certain pages, or are you only specifically talking about YouTube’s iframe_api?
 * -EmbedPlus Team
 *  Plugin Author [embedplus](https://wordpress.org/support/users/embedplus/)
 * (@embedplus)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/code-on-every-page/#post-10029635)
 * Hi,
 * Should we keep this open?
 * -EmbedPlus Team
 *  Thread Starter [sdawales](https://wordpress.org/support/users/sdawales/)
 * (@sdawales)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/code-on-every-page/#post-10029682)
 * Why not? The question was if you could just load the code on the single page 
   you use the plugin on instead of it being included on every page in a site. Hope
   that makes sense. Thanks.
 *  Plugin Author [embedplus](https://wordpress.org/support/users/embedplus/)
 * (@embedplus)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/code-on-every-page/#post-10034341)
 * We asked the following question earlier:
 * > Are you referring to somehow not loading any of the plugin’s scripts and CSS
   > on certain pages, or are you only specifically talking about YouTube’s iframe_api?
 * -EmbedPlus Team
 *  Plugin Author [embedplus](https://wordpress.org/support/users/embedplus/)
 * (@embedplus)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/code-on-every-page/#post-10093007)
 * Hello?
 *  Plugin Author [embedplus](https://wordpress.org/support/users/embedplus/)
 * (@embedplus)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/code-on-every-page/#post-10093006)
 * Hello?

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

The topic ‘Code on every page?’ is closed to new replies.

 * ![](https://ps.w.org/youtube-embed-plus/assets/icon-256x256.png?rev=2165403)
 * [Embed Plus for YouTube Gallery, Livestream and Lazy Loading with Facades](https://wordpress.org/plugins/youtube-embed-plus/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/youtube-embed-plus/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/youtube-embed-plus/)
 * [Active Topics](https://wordpress.org/support/plugin/youtube-embed-plus/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/youtube-embed-plus/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/youtube-embed-plus/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [embedplus](https://wordpress.org/support/users/embedplus/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/code-on-every-page/#post-10093007)
 * Status: resolved