Title: Pasting Adsense Into Source Code/HTML in WP
Last modified: August 20, 2016

---

# Pasting Adsense Into Source Code/HTML in WP

 *  [panelfabsource](https://wordpress.org/support/users/panelfabsource/)
 * (@panelfabsource)
 * [15 years ago](https://wordpress.org/support/topic/pasting-adsense-into-source-codehtml-in-wp/)
 * I need to paste my adsense link within source code for my webpage, but cannot
   find the HTML source code. I need to paste in between < body > & <body >.

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years ago](https://wordpress.org/support/topic/pasting-adsense-into-source-codehtml-in-wp/#post-2102295)
 * [http://codex.wordpress.org/Theme_Development](http://codex.wordpress.org/Theme_Development)
   
   [http://yoast.com/wordpress-theme-anatomy/](http://yoast.com/wordpress-theme-anatomy/)
 * there are plenty of template files whare you could add the ad code.
 * for a more detailed suggestion, you need to define more clearly where you want
   to have your ads to show in your site.
 *  Thread Starter [panelfabsource](https://wordpress.org/support/users/panelfabsource/)
 * (@panelfabsource)
 * [15 years ago](https://wordpress.org/support/topic/pasting-adsense-into-source-codehtml-in-wp/#post-2102296)
 * where do you access source code/html?
 *  Thread Starter [panelfabsource](https://wordpress.org/support/users/panelfabsource/)
 * (@panelfabsource)
 * [15 years ago](https://wordpress.org/support/topic/pasting-adsense-into-source-codehtml-in-wp/#post-2102303)
 * Also, is it possible to paste the html code from adsense in a text-box widget?
   I can’t get that method to work.
 *  Thread Starter [panelfabsource](https://wordpress.org/support/users/panelfabsource/)
 * (@panelfabsource)
 * [15 years ago](https://wordpress.org/support/topic/pasting-adsense-into-source-codehtml-in-wp/#post-2102317)
 * I’m using the “twenty ten” theme
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years ago](https://wordpress.org/support/topic/pasting-adsense-into-source-codehtml-in-wp/#post-2102414)
 * > where do you access source code/html?
 * the source code is php with a html structure; how to edit it, see here:
    [http://codex.wordpress.org/Editing_Files](http://codex.wordpress.org/Editing_Files)
 * > Also, is it possible to paste the html code from adsense in a text-box widget?
 * yes, not a problem.
    you might need to un-tick ‘Automatically add paragraphs’
 * > I’m using the “twenty ten” theme
 * twenty ten will be overwritten with the next upgrade of your wordpress version–
   consider [http://codex.wordpress.org/Child_Themes](http://codex.wordpress.org/Child_Themes)
 * there are plenty areas in twenty ten where you can add ads into the source code;
   however, the first step has to come from you – you need to clarify where you 
   want the ads to show.
 * and don’t forget to search for a suitable adsense plugin.
 *  Thread Starter [panelfabsource](https://wordpress.org/support/users/panelfabsource/)
 * (@panelfabsource)
 * [15 years ago](https://wordpress.org/support/topic/pasting-adsense-into-source-codehtml-in-wp/#post-2102517)
 * I’ve had luck just pasting adsense code into text widget boxes, is there a reason
   you would have to use the adsense plugins?
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years ago](https://wordpress.org/support/topic/pasting-adsense-into-source-codehtml-in-wp/#post-2102518)
 * there is never a reason to use any plugin if you can do the task without.

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

The topic ‘Pasting Adsense Into Source Code/HTML in WP’ is closed to new replies.

## Tags

 * [html](https://wordpress.org/support/topic-tag/html/)
 * [source-code](https://wordpress.org/support/topic-tag/source-code/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 2 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/pasting-adsense-into-source-codehtml-in-wp/#post-2102518)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
