WordPress.org

Ready to get started?Download WordPress

Forums

Wp-Insert
[resolved] wp-insert inserts "ad" in RSS feed (4 posts)

  1. Graham Stoney
    Member
    Posted 1 year ago #

    Hi there,

    Firstly, I want to say "thanks!" for wp-insert. I use the "Ad - Middle Of Post Content" feature to insert a MailChimp signup form in the middle of my posts. I know this may be overkill but wp-insert is the only plugin I've found that can insert code in the middle of a post without screwing the post up.

    However, I've just noticed it inserting the form in my RSS feed, which I don't want since I also use MailChimp's RSS-to-email feature and the form doesn't work after all that mangling. You can see an example post here, and the same post in my RSS feed here.

    I can't see any options to control insertion of ads into the RSS feed; How do I stop wp-insert inserting the form in my feed?

    Thanks,
    Graham

    http://wordpress.org/extend/plugins/wp-insert/

  2. namith.jawahar
    Member
    Plugin Author

    Posted 1 year ago #

    I hadnt thought about such situation occuring...I will add in an (ON/OFF) option for RSS Feeds in the rules section in the next release.

  3. Graham Stoney
    Member
    Posted 1 year ago #

    Thanks Namith; that would be awesome!

    Cheers,
    Graham

  4. Graham Stoney
    Member
    Posted 1 year ago #

    As a quick hack workaround in the meantime, I've added this line to the top of includes/inpostads/content.php:wp_insert_inpostads_filter_the_content: (just after the $options = ... line):

    if (is_feed()) { return $content; }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic