Ok…is_feed is now returning true. My query_posts was messing things up so I pulled the query_posts out of the do_feed_test function and added it to the feed template instead. and made sure not to clear out the global $query_string but append to it.
HOWEVER…addthis plugin is still dumping in the “AddThis Button Begins” block into my RSS feed even though is_feed = true.
Any more ideas, y’all?
Thanks, jorbin. is_feed is returning false. So now…how do I get a custom feed to return true in is_feed? Am I missing something obvious? I used this tutorial for setting up the feed: http://www.seodenver.com/custom-rss-feed-in-wordpress/
Basically this is added to the functions.php file and a custom template (test-feed-rss2.php) is made:
function do_feed_test() {
$cats = "5293,5294";
query_posts( array( 'cat' => $cats ) );
load_template( TEMPLATEPATH . '/test-feed-rss2.php' );
}
add_action('do_feed_test','do_feed_test',10,1);
Thanks again.