January 30th, 2008
g blog How to remove Kontera link ads on certain blog post
Great news to all PayperPost, ReviewMe Smorty and other paid to blog program users! I know some of you guys quit using Kontera ads because these pay per post sites doesn’t allow you to have other third party links on their sponsored post. Anywayz you may now continue using these program again without dropping your Kontera ads. Pls continue reading… Hehe ;) I want to share this little trick of mine to remove a Kontera links ads on a specific blog posts. Kontera is my second source of website income after Adsense.. But sometimes I have some blog posts that I don’t want to have their contentlink ads. Since Kontera doesn’t have an option to remove their ads on a specific post right now. I wrote a simple PHP code to fixed my problem.. You may also use this code.. Note:
  • This code doesn’t work on blogspot blogs, and works only in Wordpress..
  • This code become useless if Kontera creates a filter on which pages their ads won’t appear.
  • You will not need this code anymore If someone writes a special wordpress pluggin to fixed this… if there is an existing pluggin, kindly contact me, and give me the uRL so i can post it on this blog post.
  • Not just Kontera content link ads, you may also use this code also in Adbrite inline text ads, Clicksor inline text ads..
Too much introduction hehe, follow these steps:

Step 1:

You need to Categorize all your blog post that you don’t want to have Kontera Ads to appear. For example: Create a new Category, example: Review, then goto your blog post pages that you don’t want to have a Kontera ads, then start tagging that post using your new category Review Note: Skip STEP 1 if your blog post you want to block Kontera ads are already grouped in a category.

Step 2:

Goto your Wordpress ADmin Panel, Manage –> Categories, then get the Category ID of Review
(Note: You may use other Category tag name if you want ;) )
remove-kontera-ads.gif

So our Category ID is 14 , lets proceed to Step 3.

Step 3:

Go to your wordpress template where you put your Kontera Link Ads code, basically its footer.php Edit the file, then add this code between your kontera contentlink ads
<?php if ( !in_category(your category ID number you wish to skipped by Kontera)){?> (place your kontera link code here) <?php } ?>

The code instructs to wordpress to dipslay your Kontera link if the post is not in Category 14 which is Review EXAMPLE from my own Wordpress Template… <?php if ( !in_category(14)) {?> <!– Kontera ContentLink(TM);–> <script type=’text/javascript’> var dc_AdLinkColor = ‘orange’ ; var dc_UnitID = 14 ; var dc_PublisherID = 23740 ; var dc_adprod = ‘ADL’ ; </script> <script type=text/javascript src=http://kona.kontera.com/javascript/lib/KonaLibInline.js> </script> <!– Kontera ContentLink(TM) –> <?php } ?> Hope this helps you out. ;) Pls post your comments.. and subscribe to my feed, thank you!

If you love my post "How to remove Kontera link ads on certain blog post", and want to received updates, Click here to subscribe to my feeds or subscribe via email.
Please Enter your email address:  
Powered by FeedBurner






You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

3 Responses to “How to remove Kontera link ads on certain blog post”

  1. marhgil Says:

    this one is simpler and can be used in any platform:

    use <span name=KonaFilter>

    </span>

    to mark those places you don’t want Kontera to put the links. ;)

  2. admin Says:

    marhgil , thanks hehe d kse me nagbabasa news sa blog ng kontera…

    anywayz working din yang code sa ibang content link ads gaya ng Adbrite and Clicksor inline Text ads..

    thanks for visiting my site idol hehe

  3. riniHernvon Says:

    Hello there.
    Just found your site. Great job!
    I like it much.
    look here http://live.com

Leave a Reply

gL3nnX.net 
Web Services
Welcome to Web Designer Philippines... a freelance web design services of Glenn Dasmarinas, a filipino web designer. If you are here and need a web site.. Just click the inquiry image button below. Thanks

Web Design Inquiry

web designer featured sites
* True Church of GOD
* Utube Video Clips
* BlogSpot Checker
* July 18 Earthquake from Philippines
* G Trends
* Physician Licensure Exam Passers
0
Web Design Philippines Site Stats

View blog authority

Personal - Top Blogs Philippines
eXTReMe Tracker

Web Design

Valid XHTML 1.0 Transitional
Pinoy Ako!!!!

My Money Makers
I earn MONEY from this BLOG by using the following Money making programs. Try it 100% FREE:

My site visitors

My Blog Rolls
Looking for my friends blog list? Click here!