Optimizing Kontera ContentLink Ads in Wordpress

If you’re running Kontera’s ContentLink service on a Wordpress blog or website then you’ll want to tell Kontera where to place the in-text advertisements so that the advertisements only show up in the content of your posts and pages.

You must ensure you do this because there’s nothing worse than visiting a website with in-text advertising in non-content portions of the site like headers, navigation menus, and footers. By using the tip below you can ensure your website is free from this irritating eyesore.

To tell Kontera where to place in-text ads you can surround your content with a <div> HTML tag with the class name of KonaBody, and by modifying your Wordpress template you can quickly integrate this tag into your blog or website.

Integrating this tag into your Wordpress template is easy: simply place all calls to the_content() in your Wordpress template between <div class=KonaBody> and </div> tags. Make sure you modify all calls to the_content() in your index.php, single.php, and/or page.php template files to ensure your in-text advertisements show up in only the appropriate places.

Once you’re done modifying your template you won’t have to worry about seeing in-text advertising in non-content portions of your website ever again. As a side bonus, Kontera will also have an easier time of optimizing their advertisements for the portions of your website that matter the most: the content.

Oh, and if you haven’t done so already, make sure you sign up for Kontera’s ContentLink service.

Tags: , , , , ,

If you enjoyed this post, get free updates by email or RSS.

Checkout These Related Posts

  • Why Are You Not Using Kontera?
  • Making Kontera In-Text Ads Behave
  • Did You Remember to Update Your Wordpress Time Zone Offset for DST?
  • Integrating a Custom PHP Library into Wordpress
  • Fixing JavaScript Affiliate Links in Wordpress 2.1.1
  • 4 Comments so far »

    1. Patrix said

      on April 12 2007 @ 10:05 am

      How do you define the KonaBody class with an embedded javascript? And where do you place this defining tag? Stylesheet? I use WP 2.1

    2. Ryan J. Parker said

      on April 26 2007 @ 10:04 am

      You’ll want to place this tag around the text you want Kontera to place in-text advertising inside of.

      You don’t actually have to define this tag anywhere. Kontrea looks for any DIVs with a class definition of KonaBody.

    3. Anuj Seth said

      on April 27 2007 @ 5:01 am

      I’ve been using Kontera for a while now and its a very effective service to monetize websites.

      I’ve written a post for it on my Online Presence Blog at http://onlinepresence.blogsailor.com/2007/02/23/web-advertising-kontera-contentlink/

    4. Rohit Rohila said

      on June 2 2007 @ 8:20 pm

      Thank you for this post. Great information and I’m using it on my site right now! www.rohitrohila.com

    5. Comment RSS · TrackBack URI

    Leave a comment

    Name: (Required)

    eMail: (Required)

    Website:

    Comment:

    Pingbacks/Trackbacks