Title: Enqueue Scripts
Last modified: August 22, 2016

---

# Enqueue Scripts

 *  [Frank Gomez](https://wordpress.org/support/users/frank6tg/)
 * (@frank6tg)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/enqueue-scripts-1/)
 * Can this plugin be set up so it that in never loads the js files unless the class
   is found on the page? (I’m not using shortcodes, just classes).
 * In other words I have a site with only three pages that needs this plugin. The
   rest of the site doesn’t and i want to speed up the site.
 * [https://wordpress.org/plugins/page-scroll-to-id/](https://wordpress.org/plugins/page-scroll-to-id/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/enqueue-scripts-1/#post-5766311)
 * No. You’ll need to add the plugin in your theme manually to do this ([http://manos.malihu.gr/page-scroll-to-id/](http://manos.malihu.gr/page-scroll-to-id/)).
 * In my opinion, if you really want to speed-up your page you should use a caching
   plugin that minifies and concatenates resources.

Viewing 1 replies (of 1 total)

The topic ‘Enqueue Scripts’ is closed to new replies.

 * ![](https://ps.w.org/page-scroll-to-id/assets/icon-256x256.png?rev=1401043)
 * [Page scroll to id](https://wordpress.org/plugins/page-scroll-to-id/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/page-scroll-to-id/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/page-scroll-to-id/)
 * [Active Topics](https://wordpress.org/support/plugin/page-scroll-to-id/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/page-scroll-to-id/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/page-scroll-to-id/reviews/)

## Tags

 * [enqueue scripts](https://wordpress.org/support/topic-tag/enqueue-scripts/)

 * 1 reply
 * 2 participants
 * Last reply from: [malihu](https://wordpress.org/support/users/malihu/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/enqueue-scripts-1/#post-5766311)
 * Status: not resolved