Quantcast
Channel: How can I generate a RSS feed based on a custom WP_Query? - WordPress Development Stack Exchange
Browsing all 2 articles
Browse latest View live

Answer by Rarst for How can I generate a RSS feed based on a custom WP_Query?

You should use add_feed() function (take name of feed and callback) to add new feed, it will take care of settings up hooks and rewrite rules automagically.Then in your callback function you can use...

View Article



How can I generate a RSS feed based on a custom WP_Query?

I have a WP_Query returning a list of posts of a particular post type and with a certain meta_value (custom field value)Is there a way generate an RSS feed based of these results ?

View Article
Browsing all 2 articles
Browse latest View live




Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>