WP Simple Adsense Insertion

plugin banner

Easy to use WordPress plugin to insert Google Adsense to your WordPress posts, pages and sidebar.

Author:Tips and Tricks HQ, Ruhul Amin (profile at wordpress.org)
WordPress version required:5.5
WordPress version tested:6.5
Plugin version:v2.1
Added to WordPress repository:12-11-2008
Last updated:25-03-2024
Rating, %:90
Rated by:19
Plugin URI:https://www.tipsandtricks-hq.com/
Total downloads:213 897
Active installs:6 000+
plugin download
Click to start download

Use this plugin to quickly and easily insert Google Adsense to your posts, pages and sidebar by using a shortcode or calling the php function from your theme’s template file.

There are many plugins and services which can add Google Adsense to your WordPress site. However I found that even though something like Adsense Manager or Adsense Deluxe provides a lot of customizable options, it can be overwhelming and isn’t really simple enough for people who are new to WordPress.

I found that most of the time I only use two or three types of Google Adsense units in various places and posts throughout my sites.

That’s why I wrote my own Simple Adsense Insertion Plugin for WordPress, to focus on having 1-3 Google Adsense codes saved and use them where ever I want to on my site by inserting a simple shortcode text to my posts, pages and sidebar.

This plugin can also be used to automatically insert in-article ad code. If specified, the ad code is inserted after the 2nd paragraph of every posts.

It also has the ability to automatically insert adsense code at the end of every article.

You can use this plugin to store any ad code too (it doesn’t have to be just adsense code).

For information and updates, please visit the simple Google Adsense plugin page

Usage:

There are two ways you can use this plugin:

Use the shortcodes:

  • [wp_ad_camp_1]
  • [wp_ad_camp_2]
  • [wp_ad_camp_3]
  • [wp_ad_camp_4]
  • [wp_ad_camp_5]

Call the function from template files:

  • <?php echo show_ad_camp_1(); ?>
  • <?php echo show_ad_camp_2(); ?>
  • <?php echo show_ad_camp_3(); ?>
  • <?php echo show_ad_camp_4(); ?>
  • <?php echo show_ad_camp_5(); ?>

Screenshots
FAQ
ChangeLog