Optimize your blog ads

You must show related ads on your blog to make more sales. I have just tweak my ads at my money blog. I have joined two affiliate products: stock product and forex product. So the right way to display these ads is to display in its related page. SO what I did was displaying the stock product in the stock category page, and show the forex product in the forex category page.

What I did was do some coding in the category.php file of current theme:

<?php if (is_category(‘20′)) : ?>
– your ad code here
<?php endif; ?>

The code says that if current page is category 20, then display the ad. You can find out the ID of category by going to the “Manage Categories” page setting, where it will list all of your category for your blog. Hover your mouse above the “Category Name” you want to check, the status bar of your explorer will show the link to edit the category. The link will contain ‘cat_ID‘. This is your category ID.

Share and bookmark:
  • RSS
  • Twitter
  • StumbleUpon
  • Technorati
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Reddit
  • Propeller
  • Google Bookmarks

Related posts:

  1. Three Ways To Boost Your Affiliate Commissions
  2. How to create your own website
  3. Collapsable menu plugin for wordpress
  4. How to get more revenue with adsense
  5. How to Start Your Own Blog

Feb 6, 2009 by admin

WEB HOSTING COUPON CODES:

HostGator 20% OFF first order - Code: AUTUMN

HostGator 1-cent web hosting - Code: hgc25

HostGator 20% OFF initial order - Code: GREEN

GreenGeeks 10% OFF - Code: 10off

Super Green Hosting HostGator GreenGeeks HostPapa green web hosting ad