3 Steps to Add Google AdSense Ads Between Blog Posts in WordPress

If you use WordPress.org as your blogging application (meaning you host your WordPress blog through a third-party blog host), then you can add Google AdSense ads between your blog posts and boost your earning potential. Ads between posts typically convert well, but they can be considered intrusive. It’s up to you to test the placement of ads on your blog and determine if the performance warrants the placement. If you want to give it a try, use this 3-step tutorial to add Google AdSense ads between posts in WordPress.

Step 1 – Enter HTML Code to Identify Where the Google AdSense Ads Should Appear

If you’re using WordPress.org and hosting your blog through a third party blog host, you can add Google AdSense ads to your blog and earn money.

To display Google AdSense ads (image ads or text ads) between your posts, log into your WordPress dashboard, go into your theme editor screen (see the red circle on the left in the image above to find your editor screen), open the index.php file (see the red circle on the right in the image above to find your index.php file), and enter the code in the red circle in the center of the image above, which is:

<?php $count = 1; ?>

into your own editor screen directly above the code that says:

<php if (have _posts ()) : ?>.

You can change the number in the code from “1” (meaning the ad will appear beneath the first post on your blog) to any number you want in order to place the ad under the specific post on your blog where you want it to appear.

Warning: It’s a good idea to copy the original code and paste it into Notepad or a similar text-editor program. That way, if something goes wrong, you can simply delete all of the code from WordPress and replace it with your original code.

Step 2 – Enter Your Google AdSense Code

Open another browser window and log into your Google AdSense account. Create the ad unit you want to appear between your posts on your blog, and then copy that AdSense code.

Return to your WordPress dashboard window and paste your code in the same position as it is shown in the red circle in the above image. Note that it appears immediately before the line of HTML Code that includes the –end .entry– code.

Click the “Update File” button to save your changes.

Step 3 – View Your Blog

 

View your blog to ensure the changes you made display the way you want them to. Note that a live ad might not appear immediately, but the position holder should be there right away. It can take Google a day or so to start displaying contextually relevant ads in a new ad unit.

Visit our site:
http://articlesfree.t35.com/
http://imtiaztips.t35.com/
http://webdesigntips.t35.com/
http://seotipsfree.t35.com/
http://imtadsensetips.t35.com/

Tagged: , ,

One thought on “3 Steps to Add Google AdSense Ads Between Blog Posts in WordPress

  1. redmangowriters January 15, 2011 at 12:06 pm Reply

    what if it’s hosted by wordpress ie. mysite.wordpress.com – I have an adsense account but cannot find where to place the code. I have other websites, which are hosted, but wanted to keep this one on wordpress. Is it possible?

Leave a comment