I am stumped on how to do this. I like to publish posts on my Wordpress blog and use the full feed format. In my posts I like to include a PHP generated list of relevant books to the subject I'm writing about from Amazon. The list is different on each post so I can't just include it in the theme template. Unfortunately the RSS feed chokes on this PHP code after a few posts and dies. So I'd like to exclude the PHP code from appearing in my RSS feed. Are there comment tags for RSS or something similar so I can hide the code in the RSS feed and but let it appear in the blog post on the web? Any suggestions appreciated. Cheers
In the PHP that generates the related books only do it if it's not the feed, e.g. if(!is_feed()) { // Do book thing } PHP: