Javascript Usage in Themes
-
I’m making my own wordpress theme to match the look of my website. I have links to javascript files in the <head> section of the header.php template file, but the browser isn’t reading them when it parses the page.
I’ve seen multiple topics similar to this in the forums, but none that have been resolved. Associated links in these topics that lead to pages where the javascript “doesn’t work” now show the js-enabled effects working fine, so I know that people are finding a solution somewhere out there.
I’ve read the WP documentation on Javascript, and about how it should “work fine” in wordpress when used in themes, but I’ve followed all the guidelines listed there, and it’s not helping.
Sorry for the long post. Does anyone have a generic answer to this problem? I can post the code if necessary, but I don’t think the problem has to do with the <link> code, or it’s location. Thanks in advance!
- The topic ‘Javascript Usage in Themes’ is closed to new replies.