Title: Including addthis java in wordpress .js file help
Last modified: August 20, 2016

---

# Including addthis java in wordpress .js file help

 *  [420friendly](https://wordpress.org/support/users/420friendly/)
 * (@420friendly)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/including-addthis-java-in-wordpress-js-file-help/)
 * I am have a couple problems I need to get figured out and your help will be much
   appreciated…
 * Here is our current sharing code:
    <div class=”addthis_toolbox addthis_default_style
   addthis_32x32_style”>all the a code buttons goes here</div> <script type=”text/
   javascript”>var addthis_config = {“data_track_clickback”:true};</script> <script
   type=”text/javascript” src=”[http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-ouridhere”></script&gt](http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-ouridhere”></script&gt);
   We have 2 issues…
 * One, the + button (addthis_button_compact) that I guess is considered the expand
   button does not expand and when clicked takes users to the top of the page they
   are on only.
 * Two, we would like to load the 2 required java script files that are used for
   a manual install via an external .js file as we use a cdn… can you tell us how
   we should paste the java in our social.js file so that the buttons show and work…
 * We are trying to speed things up a bit as addthis though we love it, makes our
   page load times double from an average of 2second to around 4 when addthis is
   loaded.
 * Thank You Very much.
 * [http://wordpress.org/extend/plugins/addthis/](http://wordpress.org/extend/plugins/addthis/)

The topic ‘Including addthis java in wordpress .js file help’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/addthis_70cced.svg)
 * [WordPress Share Buttons Plugin – AddThis](https://wordpress.org/plugins/addthis/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/addthis/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/addthis/)
 * [Active Topics](https://wordpress.org/support/plugin/addthis/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/addthis/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/addthis/reviews/)

## Tags

 * [cdn](https://wordpress.org/support/topic-tag/cdn/)
 * [java](https://wordpress.org/support/topic-tag/java/)
 * [js](https://wordpress.org/support/topic-tag/js/)

 * 0 replies
 * 1 participant
 * Last reply from: [420friendly](https://wordpress.org/support/users/420friendly/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/including-addthis-java-in-wordpress-js-file-help/)
 * Status: not resolved