Title: Loading javascript files where required
Last modified: August 20, 2016

---

# Loading javascript files where required

 *  [Mohsin Rasool](https://wordpress.org/support/users/mohsinrasool/)
 * (@mohsinrasool)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/loading-javascript-files-where-required/)
 * Hi,
 * First of all, its a great plugin but I have one problem with it, actually for
   all the similar plugins. Is not it possible to load plugin’s related javascripts
   to load only on the pages where they are required? I mean I selected to laod 
   Floating sharing bar on post (single) pages only but all social sharing javascript(
   more than 5) also loads on home page and all other pages. Just increasing the
   load time of the website.
 * Can you please point out how can I avoid this?
 * [http://wordpress.org/extend/plugins/wp-socializer/](http://wordpress.org/extend/plugins/wp-socializer/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [vaakash](https://wordpress.org/support/users/vaakash/)
 * (@vaakash)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/loading-javascript-files-where-required/#post-3265471)
 * WP Socializer is optimized already. The plugin loads the button scripts, only
   in pages required by the template. Thank you.

Viewing 1 replies (of 1 total)

The topic ‘Loading javascript files where required’ is closed to new replies.

 * ![](https://ps.w.org/wp-socializer/assets/icon.svg?rev=1616975)
 * [WP Socializer - Simple & Easy Social Media Share Icons](https://wordpress.org/plugins/wp-socializer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-socializer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-socializer/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-socializer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-socializer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-socializer/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [loading](https://wordpress.org/support/topic-tag/loading/)

 * 1 reply
 * 2 participants
 * Last reply from: [vaakash](https://wordpress.org/support/users/vaakash/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/loading-javascript-files-where-required/#post-3265471)
 * Status: not resolved