Title: adding adsense code under post
Last modified: August 21, 2016

---

# adding adsense code under post

 *  Resolved [allormo](https://wordpress.org/support/users/allormo/)
 * (@allormo)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/adding-adsense-code-under-post/)
 * Hi, first of all congrats for that great theme and support you are giving 😉
 * I have one question.. is it possible to add a banner at the end of the post (
   between the sharing buttons and the “you may also like…” widget)?
    for example,
   here: [http://viajarataiwan.es/imprescindibles-taiwan-top10/](http://viajarataiwan.es/imprescindibles-taiwan-top10/)
 * thanks in advance 🙂

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

 *  [Alexander Agnarson](https://wordpress.org/support/users/alxmedia/)
 * (@alxmedia)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/adding-adsense-code-under-post/#post-4614885)
 * Hi! Thanks 🙂
 * Go to Theme Options > Sidebar, go and add a new area. Let’s say you name the 
   ID “content-ads”.
 * When you’ve saved and created the area, go to edit single.php with a child theme
   and add:
 *     ```
       <?php dynamic_sidebar('content-ads'); ?>
       ```
   
 * Above where it says:
 *     ```
       <?php if ( ot_get_option( 'related-posts' ) != '1' ) { get_template_part('inc/related-posts'); } ?>
       ```
   
 * And then add the adsense code to the content ads widget area.
 *  Thread Starter [allormo](https://wordpress.org/support/users/allormo/)
 * (@allormo)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/adding-adsense-code-under-post/#post-4614913)
 * thanks, it worked fine! 🙂
 *  [elon91](https://wordpress.org/support/users/elon91/)
 * (@elon91)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/adding-adsense-code-under-post/#post-4615021)
 * why it wont work on my site?
    ive set the code of the adsense in the title set
   id like u said edited single php and nothing shows …btw how i can add to the 
   more tab? ive tried to add to secondary menu text with the script but couldn’t
   make it
 *  Thread Starter [allormo](https://wordpress.org/support/users/allormo/)
 * (@allormo)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/adding-adsense-code-under-post/#post-4615067)
 * > why it wont work on my site?
   >  ive set the code of the adsense in the title 
   > set id like u said edited single php and nothing shows …btw how i can add to
   > the more tab? ive tried to add to secondary menu text with the script but couldn’t
   > make it
 * maybe you have the ad-block plugin enabled? 😉
    try to open a private browser

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

The topic ‘adding adsense code under post’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

## Tags

 * [banner](https://wordpress.org/support/topic-tag/banner/)
 * [entry](https://wordpress.org/support/topic-tag/entry/)
 * [post](https://wordpress.org/support/topic-tag/post/)

 * 4 replies
 * 3 participants
 * Last reply from: [allormo](https://wordpress.org/support/users/allormo/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/adding-adsense-code-under-post/#post-4615067)
 * Status: resolved