I want separate feed of each custom post type so that I can utilise it in mobile apps. Most of the resources on the web describe the same thing to do as:
www.your-website.com/feed/?post_type=custom_post_type_name
I tried this but it generates same feed for all post types that includes all posts and page. Am I doing something wrong? Is there any other way to do this?
This article has helped me achieve this on several websites in the past.
Also it may not always be necessary but adding this to
functions.php
adds RSS links to the header of your website.There is a free plug-in for that.
You should try to add to your functions.php the following filter:
this way you are changing the post showing into feeds, from your standard post to custom post type defined in query parameters