• 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- 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)
  • Make sure that you use the complete URL path to the scripts, either hard-coded with http:// or using the WordPress bloginfo template tag.

    Thread Starter kristinec

    (@kristinec)

    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.