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”

Leave a Reply