Оглавление:
Статья последний раз была обновлена 04.03.2023
5
|
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? |
|||
|
Use a functions.php file inside your theme template add this :
Hope it helps! |
||||||||||||
|
|
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 : Or you can doing this manually by adding this short code in your functions.php :
|
||
|
You can also try this plugin, Scripts To Footerphp It is compatible with WordPress version 4 |
|||
Your Answer
Post as a guest
Name
Email
|
By posting your answer, you agree to the privacy policy and terms of service.
Not the answer you’re looking for? Browse other questions tagged javascript wordpress plugins or ask your own question.
http://stackoverflow.com/questions/4221870/how-to-put-my-javascript-in-the-footer
- Как узнать IP-адрес по MAC-адресу - 07.04.2023
- Пинг проходит, а страницы в браузере не открываются - 07.04.2023
- Что если сайт пингуется «извне», но не открывается из под «локалки»? - 07.04.2023