Skip to:
Content
Pages
Categories
Search
Top
Bottom

Javascript Issues!


  • absticles
    Participant

    @absticles

    Hey there,

    I’ve just moved my site from local to remote host on a server using Plesk. It’s all fine apart from I can’t get the Javascript to work? It worked locally but now it’s having issues locating where the files are.

    Within the script tags in the header the .js file should be located using “PHPTAG bloginfo(‘stylesheet_directory’); ?PHPTAG/Slideshow/Slideshow.js” (I am creating a child theme). The bloginfo(‘stylesheet_directory’) works everywhere else but for some reason when I look at the source code on the site it seems to be looking for the file in the bpdefault file structure whenever it’s within script tags. Weird.

    Any ideas? Hope someone can help!

    Thanks,
    Abi

Viewing 2 replies - 1 through 2 (of 2 total)
  • have you tried using an absolute path and see if it works??


    absticles
    Participant

    @absticles

    The absolute path didn’t work, I fiddled with it’s location in the header and now it seems to be working. Strange!

    Thanks for your help anyhow!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Javascript Issues!’ is closed to new replies.
Skip to toolbar