I need to add javascript code to a webpage, by pasting code directly into the <head> section of a page. How is this done?
Hi mindspin,
You can add code directly to the header.php file of the theme files or you can find a plugin that will allow you to add it in via a wordpress field in the backend.
Regards,
Devin
Thanks, this is done. The other item that needed to be done is to add javascript to the page. I pasted the javascript into a text box, but the code isn’t working. Is there a specific way that javascript code should be added to a page?
Also is there the ability to post a support comment privately?
Javascript should be added to the footer unless you really need it to run in the header.php file instead. If you aren’t familiar with it I would really recommend just finding a plugin that will hook into the wp_footer function or wp_head as its better coding practice.
As for private support no we don’t currently offer it at this time.
Regards,
Devin