In this article, I will be sharing how y0u can use WordPress widgets to add AdSense code in your WordPress blog. Do remember, this will work on your widgetized part of blog, and to add Ads at other places like after post title, or more tags, you need to edit the theme file or use an AdSense plugin. for how to add adsense on other part of your blog read the following article Beginner Guide on How to Insert Adsense Ad on WordPress Blog
How to Add AdSense Code to WordPress Blog:
This article is for those who wants to show their advertisement on the sidebar of your blog.
First of all login to your adsense account and create a channel and copy the ad ad unit you want to show.
Your code will be something like this
google_ad_client = “pub-xxxxxxxxxxxxxxxx”;
/* 300×250, created 1/26/07 */
google_ad_slot = “2012343546”;
google_ad_width = 300;
google_ad_height = 250;
Once you have your adsense code,
Select the sidebar you want to use (depends on your WordPress theme)
Select Text widget and edit it and paste the Adsense code.
With simple two minute of work you can add Google Adsense to your WordPress blog.
Alternatively if you want to advertisement above or below your post, you need to edit
Author: Ubong Eshiet
Ubong Eshiet serial entrepreneur, a professional blogger and internet marketer, wordpress Developer and a passionate blogger and from Nigeria