Title: [Plugin: HungryFEED] JavaScript not running
Last modified: August 21, 2016

---

# [Plugin: HungryFEED] JavaScript not running

 *  Resolved [justinsnow](https://wordpress.org/support/users/justinsnow/)
 * (@justinsnow)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/plugin-hungryfeed-javascript-not-running/)
 * I’m using HungryFEED to display a [Google Calendar on my site](http://antigravitybunny.com/?page_id=1891).
   I have some JavaScript that removes unwanted text pulled from my calendar feed.
   The script works perfectly in [JSFiddle](http://jsfiddle.net/A99q9/14/) but doesn’t
   do anything once I copy it to the Custom JavaScript Code box in the HungryFEED
   settings page. Any ideas why it wouldn’t be working?
 * [http://wordpress.org/plugins/hungryfeed/](http://wordpress.org/plugins/hungryfeed/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Jason](https://wordpress.org/support/users/verysimple/)
 * (@verysimple)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/plugin-hungryfeed-javascript-not-running/#post-4486930)
 * Hmm not 100% sure but maybe it’s because that script appears before the HTML 
   is rendered. Maybe if you use jQuery you could do the following:
 *     ```
       $(document).ready(function(){
           // your code here...
       });
       ```
   
 *  Thread Starter [justinsnow](https://wordpress.org/support/users/justinsnow/)
 * (@justinsnow)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/plugin-hungryfeed-javascript-not-running/#post-4486976)
 * Thanks for your help Jason. I had tried using the ready function you mentioned
   before posting here, but I still couldn’t get it to work. After your suggestion,
   I tried a little harder, and succeeded!
 * For those with a similar problem, here’s what I did.
 * I had to [install jQuery](http://learn.jquery.com/about-jquery/how-jquery-works/)
   on my site (which was much easier than I expected), loaded jQuery in the footer
   of my page (although still within the body tag), took my script out of the HungryFEED
   settings, wrapped it in that ready function, and stuck it right after the jQuery
   loading script. Not too difficult at all, and now it does exactly what I hoped.
 *  Plugin Contributor [Jason](https://wordpress.org/support/users/verysimple/)
 * (@verysimple)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/plugin-hungryfeed-javascript-not-running/#post-4487006)
 * excellent! thanks for the followup!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: HungryFEED] JavaScript not running’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/hungryfeed_5ea4d7.svg)
 * [HungryFEED](https://wordpress.org/plugins/hungryfeed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hungryfeed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hungryfeed/)
 * [Active Topics](https://wordpress.org/support/plugin/hungryfeed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hungryfeed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hungryfeed/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jason](https://wordpress.org/support/users/verysimple/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/plugin-hungryfeed-javascript-not-running/#post-4487006)
 * Status: resolved