Title: Conditionaly load plugins scripts and styles
Last modified: August 13, 2017

---

# Conditionaly load plugins scripts and styles

 *  [Jakub Klapka](https://wordpress.org/support/users/lapak/)
 * (@lapak)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/conditionaly-load-plugins-scripts-and-styles/)
 * Hello, I have little sugestion, which might be easy to implement and would help
   a lot of people.
    As of now, you are enqueuing frontend scripts and styles globaly
   on whole site. And what’s worse, you enqueue script, which is dependent on jquery
   in header. This automatically puts whole render-blocking jquery on every page
   of site. Not to mention every page now loads fontawesome 🙂 If this happens on
   modern site, which follows all frontend best practices (non-renderblocking scripts,
   maybe not using jquery at all), you quite significantly determining the site 
   performance. It would be nice, if you can enqueue your scripts and styles only
   on pages, where it’s needed – which is basically only the “virtual page” for 
   subscription management.
 * Thanks for considering this, Jakub Klapka

The topic ‘Conditionaly load plugins scripts and styles’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/subscribe-to-comments-reloaded_f0f9fc.
   svg)
 * [Subscribe To Comments Reloaded](https://wordpress.org/plugins/subscribe-to-comments-reloaded/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/subscribe-to-comments-reloaded/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/subscribe-to-comments-reloaded/)
 * [Active Topics](https://wordpress.org/support/plugin/subscribe-to-comments-reloaded/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/subscribe-to-comments-reloaded/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/subscribe-to-comments-reloaded/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Jakub Klapka](https://wordpress.org/support/users/lapak/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/conditionaly-load-plugins-scripts-and-styles/)
 * Status: not resolved