Title: Give disabled custom javascript in header
Last modified: December 15, 2017

---

# Give disabled custom javascript in header

 *  Resolved [bwaymedia](https://wordpress.org/support/users/bwaymedia/)
 * (@bwaymedia)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/give-disabled-custom-javascript-in-header/)
 * So I have some custom javascript in the header that dynamically ads a href to
   buttons with certain IDs using window.onload.
 * With Give installed that code doesn’t work. When I deactivate the plugin it works
   again. I’ve read the forum about putting Give script in the footer. I tried that
   and it still didn’t work. Also tried disabling the_content.
 * Any ideas on fixes?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgive-disabled-custom-javascript-in-header%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Devin Walker](https://wordpress.org/support/users/dlocc/)
 * (@dlocc)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/give-disabled-custom-javascript-in-header/#post-9786776)
 * Hey [@bwaymedia](https://wordpress.org/support/users/bwaymedia/) – Can you provide
   us with the JS snippet you’re including?

Viewing 1 replies (of 1 total)

The topic ‘Give disabled custom javascript in header’ is closed to new replies.

 * ![](https://ps.w.org/give/assets/icon-256x256.jpg?rev=2873287)
 * [GiveWP - Donation Plugin and Fundraising Platform](https://wordpress.org/plugins/give/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/give/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/give/)
 * [Active Topics](https://wordpress.org/support/plugin/give/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/give/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/give/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Devin Walker](https://wordpress.org/support/users/dlocc/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/give-disabled-custom-javascript-in-header/#post-9786776)
 * Status: resolved