Javascript in Wordpress posts
I have a page where i use a plugin which enables me to put "raw HTML" into a post or page. On this page are tables, forms, javascript etc.
The forms are using a bunch of external javascripts, like
http://www. somesite.com/scripts/somescript.js
I know we have a field below each post where we can put in javascript code, but the documentation for this is VERY cryptic.
I can put in direct code with functions in this field in wordpress, but can i also just put references to external scripts in there?
(Eg. except actual snippets of code i want to put in
<script> http://www. somesite.com/scripts/somescript.js </script>
But this does not seem to work! I also cannot get this to work when i put the script into the post (between my tags where i can post raw HTML).
And i also dont want to put this in the global site HEAD because that would be overkill. Any idea how can i do this, using external JS in wordpress?
-
Istvan Horvath -
Thanks
Signature{{ DiscussionBoard.errors[5265218].message }} -
-
ItWasLuck3 -
Thanks
{{ DiscussionBoard.errors[5265444].message }} -