Snatch2014
Regular Member
- Dec 11, 2014
- 287
- 45
Hi!
I know PHP, HTML, CSS and JavaScript but I'm kind of new when it comes to wordpress and digging in the source code.
How ever I have made a very simple JavaScript Script. There is 1 .js file with alot of code, and in the <head> tag there is only 2 lines. The script works fine when I test it on a plain html page. But when I try it with wordpress it does'nt work.
I guess it has something to do with the path to the external .js file (src="js/file.js").
What am I missing? Why is'nt my script loading correctly?
I know PHP, HTML, CSS and JavaScript but I'm kind of new when it comes to wordpress and digging in the source code.
How ever I have made a very simple JavaScript Script. There is 1 .js file with alot of code, and in the <head> tag there is only 2 lines. The script works fine when I test it on a plain html page. But when I try it with wordpress it does'nt work.
I guess it has something to do with the path to the external .js file (src="js/file.js").
What am I missing? Why is'nt my script loading correctly?