I just want to ask on how to print script 'javascript' at the footer using simple plugin. I'm using WordPress 3.0 any ideas?
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- void before promise syntax
- Keeping track of variable instances
- Can php detect if javascript is on or not?
For an external javascript file to be linked in the footer, use this (>= WP2.8)
That last true means that the script should be put at the wp_footer() hook.
Hum may be it's too late to answer, but if anyone else comes here with the same problem :
There is a plugin to do this : http://wordpress.org/extend/plugins/footer-javascript/
Or you can doing this manually by adding this short code in your functions.php :
Use a functions.php file inside your theme template add this :
Hope it helps!