Title: Remove Styles &amp; Scripts On Specific Pages / Posts
Last modified: August 31, 2016

---

# Remove Styles & Scripts On Specific Pages / Posts

 *  [DaveyJake](https://wordpress.org/support/users/daveyjake/)
 * (@daveyjake)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/remove-styles-scripts-on-specific-pages-posts/)
 * I’m only using the plugin (for now) on the front page of my website. Does anyone
   know how to disable the plugin from loading its styles and scripts on all other
   pages/posts that don’t contain the shortcode?
 * Usually, I would call a plugin’s `global variable` and use `remove_action` in
   a `mu-plugin`, however, I can’t find nor do I know YouTube Channel Gallery’s 
   global variable.
 * Any advice would be greatly appreciated.
 * [https://wordpress.org/plugins/youtube-channel-gallery/](https://wordpress.org/plugins/youtube-channel-gallery/)

The topic ‘Remove Styles & Scripts On Specific Pages / Posts’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/youtube-channel-gallery_f11a1f.svg)
 * [Youtube Channel Gallery](https://wordpress.org/plugins/youtube-channel-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/youtube-channel-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/youtube-channel-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/youtube-channel-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/youtube-channel-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/youtube-channel-gallery/reviews/)

## Tags

 * [disable plugin](https://wordpress.org/support/topic-tag/disable-plugin/)
 * [global variable](https://wordpress.org/support/topic-tag/global-variable/)
 * [remove_action](https://wordpress.org/support/topic-tag/remove_action/)

 * 0 replies
 * 1 participant
 * Last reply from: [DaveyJake](https://wordpress.org/support/users/daveyjake/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/remove-styles-scripts-on-specific-pages-posts/)
 * Status: not resolved