Limiting Kontera ContentLinks On Your Pages

If you don't already know, Kontera can be a very good way to make money with websites and blogs. The best thing about Kontera is that they don't take up valuable space in your posts or pages. However, Kontera poses a couple of problems. First, if you have a post or page with lots of links, Kontera tends to add to the clutter. Another drawback Kontera publishers notice is that links often appear in places where you DON'T want them to appear like on small print footer text, non-hyperlinked titles and navigation text.

While their FAQ indicates that the default number of links per page is 5, you will often see more than that. So here's four methods you can use to control the number and location of Kontera links on your pages.

You can specify which part of your page Kontera can place links by using the following :

<div class=KonaBody>
Text you want the ContentLink ads to appear on
</div>

To restrict the parts of your page that you DON'T want Kontera to appear, you can use the reverse of the first method :

<span name=KonaFilter>
Text you don't want ContentLink ads to appear on
</span>

If you're using these methods on a regular web page, you can code the tags into the sections where you want them, but for blogs, there are a couple of ways to do it :

  • You can hard code them into your posts. I don't recommend this as it can be a bit messy especially after you have hundreds or thousands or posts.
  • A better alternative would be to code these tags into your index.php, single.php and category.php files. You will need to find the section where "the_content()" appears and place your Kontera tags above and below it. This means that the Kontera links will only appear within your post's text.

    *Disclaimer: I have not tested this blogging platforms other than Wordpress 2.1.

    <div class=KonaBody>
    < ?php the_content("&nbsp;&nbsp;continue reading ".chr(34).get_the_title('', '', false).chr(34)." &raquo;"); ?>
    </div>

Another (outdated) way of limiting the number of links that appear would be to specify it in the "var" line of you Kontera script :

var dc_maxLinks=4;

While the method above still works, Kontera encourages publishers to email them at support@kontera.com and inform them to limit the number of links you wish to have per page. This is then set at their end, which frees you from having to mess with any code. I personally think it's archaic to do it this way, but that's Kontera for you. Let's hope they improve their user admin panel to allow publishers more control.

So there you have it. To get the most out of your Kontera ContentLinks ads, vary the use of the methods above. Happy Kontera-ing.

Share this blog post with a friend:

These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Technorati
  • Netscape
  • Reddit
  • YahooMyWeb
  • StumbleUpon
  • Linkter
  • SphereIt
Printed from: http://www.homewithandrew.com/index.php/limiting-kontera-contenlinks-on-your-pages/ .
© HomeWithAndrew.com 2010.

Leave a Reply

  • Recent Comments

    • Jefferey Winslow: Thank you.
    • Nakisha Butsch: Hi i love your blog, found it while randomly surving a couple days ago, will keep checking up. Btw...
    • musti009: hahaha! i made 500 today m veryyy happpy!!!!!!!!!!!!!!!!!!!!!!!! ! :mrgreen: :mrgreen: :mrgreen: :mrgreen:
    • Lee Matute: Sick of obtaining low amounts of useless traffic to your website? Well i want to inform you of a fresh...
    • firearms: I located your blog online and read some of your other blogposts. I just now included you to my Google News...
    •  Foot detox: my brother was one of those people that contracted H1N1, luckily, he survived...