Title: Keep plugins from adding code to every page?
Last modified: August 19, 2016

---

# Keep plugins from adding code to every page?

 *  Resolved [bencharity](https://wordpress.org/support/users/bencharity/)
 * (@bencharity)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/keep-plugins-from-adding-code-to-every-page/)
 * I’m wondering how to keep plugins from adding their code to every page.
 * For instance I have a plugin for a slideshow that I use on only one page of my
   website. But it adds it’s scripts to every page. Is there a way to allow it to
   only put it’s script on a page that includes it’s call?
 * I feel like I read this somewhere but can’t seem to find it now.
 * Thanks in advance!

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

 *  [stvwlf](https://wordpress.org/support/users/stvwlf/)
 * (@stvwlf)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/keep-plugins-from-adding-code-to-every-page/#post-1273430)
 * [http://justintadlock.com/archives/2009/08/06/how-to-disable-scripts-and-styles](http://justintadlock.com/archives/2009/08/06/how-to-disable-scripts-and-styles)
 *  Thread Starter [bencharity](https://wordpress.org/support/users/bencharity/)
 * (@bencharity)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/keep-plugins-from-adding-code-to-every-page/#post-1273593)
 * Thanks stvwlf!
 *  [dennis-slattery](https://wordpress.org/support/users/dennis-slattery/)
 * (@dennis-slattery)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/keep-plugins-from-adding-code-to-every-page/#post-1273594)
 * Thanks I was looking for that link as well. Cheers

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

The topic ‘Keep plugins from adding code to every page?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [dennis-slattery](https://wordpress.org/support/users/dennis-slattery/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/keep-plugins-from-adding-code-to-every-page/#post-1273594)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
