Delaying One RSS Feed in WordPress but Not the Others?

Is there anyway to create a special feed in WordPress that is on a delay that I can distribute to some of our content partners? I found some tutorials on how to delay your feed but it uses the conditional statement is_feed and I don’t want to apply this to all feeds, just one particular feed. Any advice?

Edit: To clarify, I want to provide one full feed that publishes in real time (the native WP feed) and another full feed that displays the same content but is on a delay so it doesn’t update until after the time period that I specify.

1 Answer
1

This tutorial explains how to create a custom feed: http://yoast.com/custom-rss-feeds-wordpress/.
Put the add_filter (from the wpengineer tutorial) before the query_post, and a remove_filter(‘posts_where’, ‘publish_later_on_feed’); after it.

Leave a Comment