PostHeaderIcon How the Chitika Plugin Broke My Feed

I recently figured I should just monetize everything I can. So I signed up for Kontera and Chitika and thought I would give them a shot. And since I am using WordPress, I figured there would be plugins, which there was. I installed them and all was fine, until I went to comment on a CommentLuv blog and it said there was an error with my feed.

So I check the feed with a validator and sure enough, the feed is bad. And the feed was bad because of Chitika’s script tags.

So I edited the plugin so that this code will not go in feeds and all is well now.

Here are the steps:

  1. Navigate to Plugins->Editor in your WordPress backend
  2. In the dropdown there, choose the “Chitika | Premium” plugin and click the “Select” button
  3. You should see “Editing┬áchitika-premium/premium.php” at the top of your page.
  4. Search this file for “if($textContainsTag || (get_option('chitikap_single') == 'true' && !is_single())) {
    return $text;
  5. Paste this:”if(is_feed()) return $text;” after that

All that line of code does is prevent the Chitika Premium plugin from adding the code to feeds.

Reblog this post [with Zemanta]

Random Clickbank Products

4 Responses to “How the Chitika Plugin Broke My Feed”

  • Terri (1 comments.) says:

    Hi Stephan,

    Terri from Chitika here. I appreciate you finding the bug in the plugin and coming up with the solution. I’m releasing a new version as I type that will be live on shortly that includes this fix and a nod to you for finding and helping to solve it! If you happen upon any other bugs please do report them through the’s forum since we monitor those :)

    - Terri

  • Stephan Miller says:

    Will do and thank you for the props at WordPress.

  • fangfang123 (1 comments.) says:

    Best new era caps,new era hats,delicate monster energy hats,magical nfl hats,one industries hats,rockstar energy hats,Red Bull Caps,The Hundreds Hats,Supreme Hats,DC Comics Hats ,ed hardy hats are in stock now. Our site provide first-class service and reliable quanlity garantee,do not hesitate to shake hands with us and go with the tide as soon as possible!

    new era hats
    new era hats
    new era caps
    one industries hats
    Rockstar Energy Hats
    rockstar energy hats
    monster energy hats
    Red Bull Caps
    The Hundreds Hats
    nfl hats
    Supreme Hats
    DC Comics Hats

  • ryan (1 comments.) says:

    How could the Chitika plugin ever ruin anyone’s feeeeeeeeeeeeed?!?!?!

Leave a Reply