Quantcast
Channel: Custom WordPress Feeds operators? - WordPress Development Stack Exchange
Viewing all articles
Browse latest Browse all 2

Answer by Rarst for Custom WordPress Feeds operators?

$
0
0

Feeds are essentially WordPress Loop with customized template. So it will take regular query_posts() arguments in URL. For example see /wp-includes/feed-rss2.php template.

Since query_posts() doesn't handle OR logic you describe it isn't possible with URL alone.

You will have to write your own feed template that runs and concatenates two sets of post. I think it will work simply as page template, but can also be hooked into existing feed mechanics, see do_feed().


Viewing all articles
Browse latest Browse all 2

Trending Articles



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