Include Pages in WordPress RSS Feeds
If you've come from the donate link on WordPress.org I'm not actually looking for a monetary donation. I would love it if you were to Like, Tweet, or +1 this page though!
I recently migrated all of the non-blog content on this site to WordPress. That's right. I'm now using WordPress as a content management system (CMS). WordPress by no means competes with the big guns in the industry, but for relatively simple sites and even those with multiple authors, WordPress is incredible. However, for me it was missing one feature both in the core feature set and in any of the many plugins available.
I wanted to include pages (not just posts) in the RSS feeds that WordPress generates. I wouldn't be surprised if this feature became part of the core of WordPress, but until then, feel free to download this plugin.
If you encounter any problems, please leave a comment below and I'll get back to you as soon as possible. Before you do, please read these bullets as they cover most of the problems people have:
- When you look at your feed make sure it isn't a cached version. Clear your cache or wait for the cache to be updated.
- If you're using FeedBurner, you will need to wait until FeedBurner gets an update of your feed before you will see any pages listed. This can take hours.
- The publish date of the pages you want to see in the feed MUST be recent. If your posts are newer than your pages, you won't see any pages.
Special thanks to Aaron Waggener for providing the technical brains behind this plugin!
1.0 Initial release.
1.1 Fixes for new WordPress release.
1.2 FAQ updates and confirming plugin works with WordPress 2.9.2.
Can I exclude posts from the feed?
A reader, Stuart, has come up with a way... Thanks Stuart!
1. Install Marios "RSS Includes Pages" plugin.
This will include then include all the pages. However what bugged me what that I don't want things like my about page in the feed (like the guy above I guess). So I needed to find a way to have the pages, but exclude the pages I don't want in the feed.
So, after 1, you then do this.
2. Go here and install the "Stealth Publish" plugin.
It clearly hasn't been updated in a while, and it doesn't even seem to have a page on WordPress. But you can download the plugin direct from that page.
I just installed it on 2.9.2 and it works fine. No problems.
Once that has installed then on any page that you DON'T want in the feed. You do this.
"For posts that you do not want to be featured on the front page and feeds, assign them a custom field of “stealth-publish” with a value of “1?
I just tried this exact procedure on another WordPress site of mine. It works like a charm and actually gives you an enormous amount of control over what you choose to feature in your RSS Feed.