I have an adsense banner that I want to go directly under the title of each new blog post. Where do I paste that code in on the Editor Side? Somewhere in the header.php file? Or the main index.php file?
If you want to add it at homepage then main index.php (but only first 3 posts display that ad under title as per adsense rule) and if you want it in all seperate post then put it under single.php DON.
No of course I do not want to get banned. DUH!!! Obviously I don't know this is why I'm asking. Will the ads only show a max of 3 times. Or will it show under every post?
I think what he is saying.....if I remember correctly (I don't use adsense anymore) is that you can only display 3 adsense blocks per page, so if you are displaying it under every title, and you have more than 3 posts on the first page, you will run into trouble (not to mention turning off readers). If you put it in single.php, it will display when the entire post is displayed, only.
Adding it to header.php will not put ads under the posts, it has to go in index.php. The code also needs to count how many loops its done to limit the ads. But later on you might put ads in the header, footer or sidebar and then you have to change the code again. You can avoid all that trouble by using Adsense Manager
try using wordpress plugin called "all in one adsense and ypn", you can setup adsense code easily under the title or even randomly inside the post....
I have a WP blog setup to show an AdSense ad block under each post (actually excerpt but that doesn't matter) on the main page. The code was added directly to the themes index.php file with no plugin and it automatically only shows three ad blocks although there are 10 post excerpts showing on the page. It has been this way for years with no problems or being banned.
Your best bet is a plugin. Also, I think you can have 4 adsense blocks now. Don't quote me on that however.