Monday, July 9, 2007

Inserting Adsense Into WordPress

If you own a WordPress blog and you are a newbie like me, you probably will struggle a bit to figure out how to put your Adsense Ad there.

This is what I found out (if you have a better way to do it, pls help to enlighten me):

1. To insert the ad, click on Presentation -> Theme Editor -> Main Index
2. Use the function find in the browser to look for ‹? php the_content
3. Before this, paste:

div style="float:left;">
Paste your 250x300 adsense code here to display the ads at the top left of your post.

To make it display at the top right, change the word "float:left" to "float:right"
/div>

And now your ads will be blended into the contents!


With this, I hope it will help most of the beginner. For more advance stuff, you might want to refer to this resource.

No comments: