...

How to Make a Separate RSS Feed for Each Custom Post Type in WordPress

152

Everyone is utilizing Custom Post Types in their new WordPress sites because this is a very powerful feature. One of our users asked us how can they create a separate RSS feed for a specific custom post type in WordPress. In this article, we will be answering that question.

You would think that it require a lot of coding, but it doesn’t. It works just like creating a separate RSS feed for each category in WordPress. You can simply type this URL:

http://www.yoursite.com/feed/?post_type=book

Just change the post_type name to the one that you want to create a separate RSS feed for. Are you looking to take it to the next level and make it for a specific custom post type and custom taxonomy? Well that is not hard at all either:

http://www.yoursite.com/feed/?post_type=book&genre=romance

As you can see in the code above, that genre would be the custom taxonomy, and romance would be the tag if you may call it that. You can create a button in your sidebar to link to that. You may also link this feed and create a separate feedburner feed for it.

Seraphinite AcceleratorOptimized by Seraphinite Accelerator
Turns on site high speed to be attractive for people and search engines.