Title: Load Javascript from another file
Last modified: August 21, 2016

---

# Load Javascript from another file

 *  [dnichols178](https://wordpress.org/support/users/dnichols178/)
 * (@dnichols178)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/load-javascript-from-another-file/)
 * Would there be any way to load the JavaScript that renders in the markup into
   a separate file to keep the source code less cluttered?
 * [https://wordpress.org/plugins/recent-posts-slider/](https://wordpress.org/plugins/recent-posts-slider/)

The topic ‘Load Javascript from another file’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/recent-posts-slider_a3875c.svg)
 * [Recent Posts Slider](https://wordpress.org/plugins/recent-posts-slider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/recent-posts-slider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/recent-posts-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/recent-posts-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/recent-posts-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/recent-posts-slider/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [dnichols178](https://wordpress.org/support/users/dnichols178/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/load-javascript-from-another-file/)
 * Status: not resolved