Support » Fixing WordPress » A specific javascript in a specific post

  • I just want to load this specific javascript in this one post. I really don’t want to dink with the headers. The codex page http://codex.wordpress.org/Using_Javascript says you can wrap your javascript in a function place the function in an external then have

    javascript script tags in your post with with the first one to ref the file, and the second one to call the function. If I firebug it and go to the element that contains the script, it says it fails to load the function. I used /myfcn.js and I placed the fcn at the root of my blog just for now. The file is readable by all. If you request it
    http://myblog.com/myfcn.js you can get it just fine.

    Why won’t wordpress load it?

  • The topic ‘A specific javascript in a specific post’ is closed to new replies.