How To Add Adsense Into Wordpress Blog Posts

Adding adsense to wordpress post is possible with most of the free ad management plugins for WordPress out there. I've tried the official Adsense plugin for Wordpress as well as the Quick Adsense plugin but my favorite for now is the "Insert Post Ads" plugin by the guys at wpbeginner.com.

I ditched QuickAdsense plugin recently when I discovered that I couldn't save changes to my ad codes and placement. The plugin was misbehaving and there wasn't any update to fix the bug. The Adsense plugin on the other hand, as at the time of publishing this post doesn't give me the freedom to set the size of ads I want in my my Wordpress post.

With the "Insert Post Ads" plugin, all I need to do is to install it, paste my code and select if the ad unit should appear after the first or second paragraph. I can also set it to display the Adsense ad unit at the top or end of Wordpress blog post. You can also easily align your ad to appear in the center, left or right using css. Using the plugin to insert adsense into wordpress also makes it very easy for me to track performance of each ad unit in my Adsense dashboard.

adsense pugin for wordpress

So, if you are looking for how to paste adsense code in wordpress, you can try the plugin.

How To Use "Insert Post Ads" Plugin for WordPress

==> Simply install and activate the plugin : Insert Post Ads.
==> Upon activation, the plugin will add a new menu item called Post Adverts.
==> Go to : www.google.com/adsense to get your ad code.

==> Click on Post Adverts » Add New. On the next screen, simply add the name of your ad for identification purposes, paste the ad code itself, and select the paragraph you want to display the ad code after. you can also select "Before content" or "After content"

==> Once done simply click publish.
==> Go to Post Adverts » Settings to select which post types you want to show your ads on such as posts, pages, and custom post types. Very Important!

==> View your posts and your ads should now be appearing in inside your WordPress blog posts.

NB: If you want the ad to appear in the middle, add <center> at the top of your ad code and add  </center> at the end of the ad code.

How To Add Adsense to WordPress Sidebar

==> Go to 'Appearance" > "Widgets"
==> Drag a text gadget to the sidebar column
==> Copy and paste your adsense add code in text gadget.
==> Save.

How To Add Adsense To Wordpress Header

==> Install official Adsense plugin.
==> Connect I to your Adsense account and use it to place your ad anywhere the pointer displays in your header area.

I hope this helps.

Which plugin do you use for adding adsense to wordpress post ?

Recommended: How to add adsense inside Blogger posts

Share :


  1. The Best Recommendation #Plugin is #QuickAdsense

    1. What makes it the best? At least, I shared my experience in the post.

  2. thank you boss, it worked. .. .thats why i like this your blog. things just work! its live now at www.examsconnect.com using your technique.

  3. this is really helpful information. Thanks alot Mr Jide. Going through your blog is teaching me a lot.


We love to hear from you!

Sign in to comment "anonymously" without entering verification text.

Want to be notified when I reply your comment? Tick the "Notify Me" box.

If your comment is unrelated to this post, please drop it at my Facebook group here.


Designed by Jide Ogunsanya.