Include js from folder outside WP in themes
I have a folder called /common where I keep lots of reusable stuff; images, js, flash, etc. Like this:
How can I use these elements in the themes without having to resort to “http://mywebsite.com/common/etc.”?
Is there a version of bloginfo() to get the main URL of the site?
What is the prescribed way to add js to the header?
- The topic ‘Include js from folder outside WP in themes’ is closed to new replies.