Title: Adsense code doesn&#039;t work
Last modified: August 21, 2016

---

# Adsense code doesn't work

 *  Resolved [Click-Factor](https://wordpress.org/support/users/click-factor/)
 * (@click-factor)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/adsense-code-doesnt-work/)
 * Hello I have read that adsense integration is not an available option for free
   version any more. However, you suggest that we can use the custom code to make
   ads play.
    I have tried both to add the code to the custom code block and to 
   hardcode the “single.php” file by adding Adsense script code right after
 * > <?php get_template_part( ‘related-posts’ ); ?>
 * No Ads are displayed with any of the mentioned midifications.
 * On the other hand I have added the AddThis social sharing code for smart layers
   either to the custom code block or to the “footer-top.php” file and the module
   is working properly.
 * Are you blocking/filtering the adsense code on the free version?
 * Thank you
 * [http://wordpress.org/plugins/wptouch/](http://wordpress.org/plugins/wptouch/)

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

 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/adsense-code-doesnt-work/#post-4412738)
 * Hello Click-Factor, have you tried to revert back to 1.9.8.9?
 * Kind regards
 *  [BraveNewCode Inc.](https://wordpress.org/support/users/bravenewcode/)
 * (@bravenewcode)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/adsense-code-doesnt-work/#post-4412739)
 * You can drop in the adsense js code into the custom code area in the WPtouch 
   settings and the ads will be displayed in page footers.
 * We can’t assist with custom modifications to the theme in the free version, copying
   themes and customizing them is supported in the Pro version however.
 *  [cnxsoft](https://wordpress.org/support/users/cnxsoft/)
 * (@cnxsoft)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/adsense-code-doesnt-work/#post-4412740)
 * Custom code area works fine for me, and display one ad at the bottom of all pages.
 * If you want to add ads at the top (under the blog title), and use the default
   theme, look for wptouch_advertising_top and place your code below.
 *  Thread Starter [Click-Factor](https://wordpress.org/support/users/click-factor/)
 * (@click-factor)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/adsense-code-doesnt-work/#post-4412742)
 * Thank you people for our help.
    Finally I created a new mobile ad unit and passed
   the php code to single.php right before the related posts block. This way ads
   are displayed only on posts.
 * CNXsoft thank you for your tip. Do you know how could I place an additional ad
   block above the fold and just for the home page?
 * Thank you.

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

The topic ‘Adsense code doesn't work’ is closed to new replies.

 * ![](https://ps.w.org/wptouch/assets/icon-256x256.png?rev=1313960)
 * [WPtouch - Make your WordPress Website Mobile-Friendly](https://wordpress.org/plugins/wptouch/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wptouch/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wptouch/)
 * [Active Topics](https://wordpress.org/support/plugin/wptouch/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wptouch/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wptouch/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [Click-Factor](https://wordpress.org/support/users/click-factor/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/adsense-code-doesnt-work/#post-4412742)
 * Status: resolved