Title: Google Adsense
Last modified: August 18, 2016

---

# Google Adsense

 *  [liveforachange](https://wordpress.org/support/users/liveforachange/)
 * (@liveforachange)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/google-adsense-3/)
 * Does anyone know how to paste Google Adsense HTML into their WordPress Blog. 
   I am very new to all of this and although I know “how” to copy and paste, I don’t
   know “where” to paste the HTML and whether I need to do anything else after I
   have pasted it. So far I have pasted it into the HTML Source Editor but it comes
   up as HTML on the Blog page!!!!

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

 *  [xinfo](https://wordpress.org/support/users/xinfo/)
 * (@xinfo)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/google-adsense-3/#post-484757)
 * where do you need to place the ad ? your site link will help us to give more 
   tips
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/google-adsense-3/#post-484760)
 * Usually this kind of code should be pasted in the TEMPLATES not in post/Page 
   content.
 * More: [http://codex.wordpress.org/Plugins/Advertisement](http://codex.wordpress.org/Plugins/Advertisement)
 *  Thread Starter [liveforachange](https://wordpress.org/support/users/liveforachange/)
 * (@liveforachange)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/google-adsense-3/#post-484812)
 * Thanks – but how do I get into the Templates. My blog was set up by a web designer
   so I have only used the Dashboard
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/google-adsense-3/#post-484813)
 * Well, if you want to be the “webmaster” of your site + you want to make money
   of it… you should learn the basics of working with files, FTP etc.
    There is 
   no other way. Or pay you designer for “maintanence”.
 *  Thread Starter [liveforachange](https://wordpress.org/support/users/liveforachange/)
 * (@liveforachange)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/google-adsense-3/#post-484814)
 * So are you saying I will be unable to do this myself – that my web designer will
   have to do it?
 *  [Dgold](https://wordpress.org/support/users/dgold/)
 * (@dgold)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/google-adsense-3/#post-484815)
 * Go to where your Dashboard is, under WP-Admin.
 * Click on Presentation > Themes > Theme Editor > Sidebar.php
 * Paste your AdSense code somewhere in there & click Save.
 * Always make a back-up of your theme before you make changes in the template code.
 *  [xinfo](https://wordpress.org/support/users/xinfo/)
 * (@xinfo)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/google-adsense-3/#post-484913)
 * yaa do as Dgold said before that via ftp chmod your theme file
 *  [hops](https://wordpress.org/support/users/hops/)
 * (@hops)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/google-adsense-3/#post-484916)
 * Livefor –Before you just drop that adsense code into your sidebar.php, make sure
   to not disrupt the
    `<ul> <li>/li></li> </ul> structure you have in your sidebar
   list. It really is not hard to avoid, but you might want to read up on where 
   to slap code. Do a search in the wiki on edting sidebars.
 * Generally though, you want to place your adsense code between repeating segments(
   nested lists) that look something like this
 * `<ul><h2>Categories</h2>
    <li> {all sorts of code and comments} </li> </ul>
 * POST YOUR ADSENSE Code HERE
 * `<ul><h2>Recent Posts</h2>
    <li> {all sorts of code and comments} </li> </ul>
   Make sure to do it well before the <?php endif; ?>, and preferably post it up
   against one of the nested lists as noted above.
 * Play around with the code location by cutting and pasting.
 * ALSO, If it’s not already part of the adsense code, at the start and end of what
   they give you, for new folks its usually helpful to add comments identifing the
   start and end of their code as follows so you don’t lose it. (it’s hard as a 
   newbie to recall what was there and wasn’t before you edit)
 * `<!-- start adsense code -->`
    {adsense code here} `<!-- end adsense code -->`
 *  Thread Starter [liveforachange](https://wordpress.org/support/users/liveforachange/)
 * (@liveforachange)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/google-adsense-3/#post-484927)
 * Thanks for the suggestions – will give it a try. I am also interested in using
   amazon links. Do these go into the HTML editor on the specific page??

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

The topic ‘Google Adsense’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 5 participants
 * Last reply from: [liveforachange](https://wordpress.org/support/users/liveforachange/)
 * Last activity: [19 years, 5 months ago](https://wordpress.org/support/topic/google-adsense-3/#post-484927)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
