Inspired on the WordCamp NL last weekend I started playing around writing a little plugin of my own.
I use this code to add a bit of text to the bottom of each post:
$content .= ‘Add this line’;
However, I ran into a little problem, since the added line also returns in the RSS feed.
Since I don’t want that to happen, how can I make sure that the function will not be applied to the feed and only to the postings on the website?
- The topic ‘Filter to add content to post, but not feed’ is closed to new replies.