Wordpress Themes

HOW TO MONETIZE YOUR WORDPRESS BLOG WITH ADSENSE
ADD THE GOOGLE ADSENSE CODE INTO YOUR WORDPRESS THEME

Monetizing your Blog could bring in a nice additional income. All depends on your Blog ; its size, popularity, its content etc… You can make money with your blog ‘s traffic by monetizing it. You add visual advertisements ; text, image or video which your visitors see when they come to your blog. If they click on the ads, you earn money. CPC = Cost Per Click. They money you make per click.The following tips are currently implemented on my blog . I’m using WordPress 2.2.3 with the default theme 1.6 by Michael Heilemann . These tips should also work with different versions of wordpress and different themes. All you need to do is find the right place in the right file to add the adsense code. I’m no expert and i was able to do it. There’s even a 12 year old kid that has monetized his WordPress Blog and makes 500$ a month! I use Adsense-Deluxe wordpress plugin which simply reduced the amount of code you have to add into your wordpress files . But you don’t really need the plugin and could just add the complete addsense code into your wordpress files.

We want the Google Adsense advertisements to appear:

  • On the Homepage Monetize
    • Adsense in the Header
    • Adsense in the Sidebar
    • Adsense under the Post’s Title
  • On the Single Posts Monetize
    • Adsense under the Post’s Title
  • On the Category Pages Monetize (archive)
    • Adsense under the Post’s Title

Why have I put “Adsense under the Post’s Title” three times?
Explanation :
If you add the adsense code to appear in the “single” posts (single.php ), the advertisements will only appear when a user is viewing a specific post (yoursite.com/2007/yourpost/). Adsense will not appear on the homepage or the category pages. For those, you need to modify the archive.php and index.php files


———————————
———————————

HOMEPAGE MONETIZATION :

HEADER :: ADD ADSENSE IN YOUR HEADER

The Adsense advertizements will appear at the bottom of your header. I recommend putting a long, flat link unit (728×15) same as my blog.
Go to PRESENTATION –> THEME EDITOR
In header.php look for the <BODY> tag.

Below is the code i use for my blog, analyse and modify it to get your desired results :

<body>
<div id=”page”>
<div id=”header”>
<div id=”headerimg”>
<h1><a href=”<?php echo get_option(‘home’); ?>/”>
<?php bloginfo(‘name’); ?></a></h1>
<div class=”description”>
<?php bloginfo(‘description’); ?></div>
</div>
</div>
<center>
<?php adsense_deluxe_ads(‘linkunit728x15′); ?>

</center>

———————————

SIDEBAR :: ADD ADSENSE INTO YOUR SIDEBAR WITH WIDGETS

These ads will appear on every page of your blog where the sidebar is visible.
Go to PRESENTATION –> WIDGETS
Create a new “Text” widget, drag and drop it onto your sidebar. Then simply add your raw adsense code into your Text Widget. Voila!

———————————

POSTS :: ADD ADSENSE INTO THE SINGLE POSTS WHEN VIEWING FROM THE HOMEPAGE

The Google Ads will appear between your posts title and the beginning of your written article.
Go to PRESENTATION –> THEME EDITOR
In index.php (Main Index Template) look for the DIV class “entry” followed by “?php the_content”. Put your adsense code just above those lines. Between “the_author” and “the_content”.

———————————
———————————

SINGLE POST MONETIZATION

POSTS :: ADD ADSENSE INTO SINGLE POSTS

The Google Adsense Codes will appear when a user is viewing a particular post. ie : yoursite.com/2007/yourpost/ . It will appear between your posts title and the beginning of your written article.

My Blog’s biggest adsense revenue comes from the Ad Unit 336×280 i insert right below the post’s title, so if you are looking to make a few bucks (not that much really), then you must insert adsense in this area! Inserting the code takes one minute, signing up to adsense takes 5 mins so it’s definatly worth the effort!

Go to PRESENTATION –> THEME EDITOR
In single.php look for “the_title

Below is the code i use for my blog, analyse and modify it to get your desired results :

<?php the_title(); ?></a></h2>
<div class=”entry”>
<?php adsense_deluxe_ads
(‘adunit336x280′); ?>

<?php the_content
(‘<p class=”serif”>Read the rest of this entry ยป
</p>’); ?>

———————————
———————————

CATEGORY PAGES MONETIZATION

ADD ADSENSE INTO THE POSTS WHEN VIEWING FROM A CATEGORY PAGE

The Google Adsense adveritsements will appear when a user is viewing the category pages on your blog. ie: yoursite.com/category/yourcategory/ . It will appear between your posts title and the beginning of your written article.

Go to PRESENTATION –> THEME EDITOR
In archive.php look for “the_content ()”

Add the ads code between “the_content” and the div class=”entry”

———————————
Related Articles :: Adsense into each single post :: Add Menu & Adsense into header
———————————

Anything unclear? Have a question or comment? Please leave your feedback! :-)