The Developer's Toolkit [infographic]
Add Google AdSense to WordPress without plugins
I wanted to add Google AdSense to my blog just to see how easy it is to do. I’ve googled a bit and found a handful of plugins that claim to do it all for you. I couldn’t decide which one to choose and started thinking from a different angle. It turns out that you don’t need any plugins to install Google AdSense on your site and what’s most important you don’t even need any programming knowledge! The whole process will take you no more than 5 minutes.
- Log in to your blog’s admin panel.
- Click on
Appearance
. - Click on
Widgets
. - Find a
Text
widget and drag it to theSidebar
(or any other place where you want the AdSesnse to appear). - Enter title. I’ve used "Interesting Links".
- Paste your Google AdSense code into widget’s content area. My code looks like this:
<script type="text/javascript"> <!-- google_ad_client = "ca-pub-4589490261258499"; /* allurcode */ google_ad_slot = "2642741863"; google_ad_width = 300; google_ad_height = 250; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
- Click
Save
.
That’s it, we’re done! Go to your blog’s homepage and smile 🙂
Note, allow a few minutes for Google to create the adds before they actually show up.