Title: JavaScript Code does not appear.
Last modified: August 24, 2016

---

# JavaScript Code does not appear.

 *  [devanthony](https://wordpress.org/support/users/devanthony/)
 * (@devanthony)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/javascript-code-does-not-appear/)
 * Good evening!
 * I’m writing because I’ve just installed Add to Footer on my WordPress site. I
   added the JavaScript code for my Google AdSense account in the plugin settings,
   but nothing appears in the footer area of my site.
 * The site is [http://www.inthenuthouse.com](http://www.inthenuthouse.com) and 
   the code I’m trying to use is pasted below. Could you please let me know what
   I’m doing wrong?
 * Thanks!
 *     ```
       <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
       <!-- Sidebar 1 -->
       <ins class="adsbygoogle"
            style="display:inline-block;width:300px;height:600px"
            data-ad-client="ca-pub-9793114590243545"
            data-ad-slot="2077633513"></ins>
       <script>
       (adsbygoogle = window.adsbygoogle || []).push({});
       </script>
       ```
   
 * [https://wordpress.org/plugins/add-to-footer/](https://wordpress.org/plugins/add-to-footer/)

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

 *  Thread Starter [devanthony](https://wordpress.org/support/users/devanthony/)
 * (@devanthony)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/javascript-code-does-not-appear/#post-6068188)
 * My apologies. The code I’m trying to display is:
 *     ```
       <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
       <!-- Footer 2 -->
       <ins class="adsbygoogle"
            style="display:inline-block;width:728px;height:90px"
            data-ad-client="ca-pub-9793114590243545"
            data-ad-slot="6368232310"></ins>
       <script>
       (adsbygoogle = window.adsbygoogle || []).push({});
       </script>
       ```
   
 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/javascript-code-does-not-appear/#post-6068212)
 * Hi,
 * Could you please let me know where exactly you are pasting the code in the Settings
   page.
 * Also, do you have any caching plugins on your site? If so, you’d need to clear
   the cache after updating the options.
 *  Thread Starter [devanthony](https://wordpress.org/support/users/devanthony/)
 * (@devanthony)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/javascript-code-does-not-appear/#post-6068235)
 * Good evening,
 * I’m trying to get the code either above or below the “Related e-books” ads in
   the footer of the page. As an alternative, I could have the AdSense code on the
   right-hand side of the page, underneath all of the menu items. I’ve put the code
   in its own block in all three of those places.
 * When trying to make the ad appear, I’ve included the JavaScript in two ways: 
   firstly, in a text-only widget, and then in the AdSense plugin provided by Google.
 * In response to your other question, no, I don’t have any caching plugins on my
   site. Just to play it safe, I cleared out my cache anyway, and still the ad block
   won’t appear on my site.
 * I’ve tried every thing I can think of to make the ad work, short of performing
   a ritual dance and sacrificing a melon to the god of technology. 😉
 * Thank you so much for such a quick reply!
    -Dev
 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/javascript-code-does-not-appear/#post-6068308)
 * Hi Dev,
 * I just checked the source of your page ( view-source:[http://www.inthenuthouse.com/](http://www.inthenuthouse.com/))
   in Chrome and I can see this in the page. It seems like code is being added into
   the page. Do you have any minifying js code that could be interfering with the
   display?
 *     ```
       <a href="#branding" id="scrollup"></a>
       <script><!--
       dynamicgoogletags.update();
       //--></script><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
       <!-- Footer 2 -->
       <ins class="adsbygoogle"
            style="display:inline-block;width:728px;height:90px"
            data-ad-client="ca-pub-9793114590243545"
            data-ad-slot="6368232310"></ins>
       <script>
       (adsbygoogle = window.adsbygoogle || []).push({});
       </script>
       ```
   

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

The topic ‘JavaScript Code does not appear.’ is closed to new replies.

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

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 4 replies
 * 2 participants
 * Last reply from: [Ajay](https://wordpress.org/support/users/ajay/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/javascript-code-does-not-appear/#post-6068308)
 * Status: not resolved