Title: Adding Javascripts
Last modified: August 19, 2016

---

# Adding Javascripts

 *  [kristinec](https://wordpress.org/support/users/kristinec/)
 * (@kristinec)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/adding-javascripts/)
 * I’m trying to add a slideshow script which I’ve implemented several times before
   on other sites (not blogs) and was successful…
 * What I’ve done so far and does not work is:
 * 1) Installed scripting in the header.php that refers to 2 files on the server
   to run the script in the <head></head>
 * 2) Uploaded two scripts that run the script in (/wp-content/themes/theme-name/)
 * 3) Added another small script in “posting a page” which would be my current home
   page ([http://kristinecumminsdesign.com-](http://kristinecumminsdesign.com-) 
   blank spot on the home page with border is where slideshow is to show up
 * 4) I’ve uploaded all the images to the theme, “images” sub-directory (/wp-content/
   themes/theme-name/images)
 * My suspicion is that it’s not finding the scripts on the server to run the script.
   Where does one suggest me to upload these scripts? Any other errors I’ve made?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [iridiax](https://wordpress.org/support/users/iridiax/)
 * (@iridiax)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/adding-javascripts/#post-858112)
 * Make sure that you use the **complete** URL path to the scripts, either hard-
   coded with http:// or using the [WordPress bloginfo template tag](http://codex.wordpress.org/Template_Tags/bloginfo).
 *  Thread Starter [kristinec](https://wordpress.org/support/users/kristinec/)
 * (@kristinec)
 * [17 years, 8 months ago](https://wordpress.org/support/topic/adding-javascripts/#post-858116)
 * The full path name to the scripts and images isn’t working unfortunately. I read
   about the bloginfo template tag (<?php bloginfo(‘url’); ?> ), but unsure as to
   how to implement. The script that pulls the scripts that is in the post is:
 * <script type=”text/javascript”>
    new inter_slide(slides) </script>

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Adding Javascripts’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [kristinec](https://wordpress.org/support/users/kristinec/)
 * Last activity: [17 years, 8 months ago](https://wordpress.org/support/topic/adding-javascripts/#post-858116)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
