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()
.
Related Posts:
- RSS feed for deleted posts and comments
- How to remove feeds from WordPress totally?
- Getting /feed/ behind post urls in Google Webmaster Tools; crawler errors? [closed]
- Disable comments feed, but not the others
- How to read the xml file in wordpress?
- Is it usual to have a non-Feedburner feed on a WordPress blog?
- What is the difference between feeds served by my WordPress install vs feeds served by FeedBurner?
- Disable links in header (feeds and such)
- Troubleshooting fetch_feed and SimplePie
- How to exclude posts of a certain format from the feed
- Combining RSS Feeds and Sorting with fetch_feed
- wp_remote_get vs. fetch_feed ? which is the better for performance?
- how to publish a feed of posts with a certain custom field value?
- Combining multiple RSS feeds using fetch_feed
- Remove tag on my RSS Feed
- Yoast custom feed template as add_feed function?
- Restrict certain posts from being sent to the feed subscribers
- How to display LinkedIn feed/company updates into WordPress site? [closed]
- Duplicate Posts using Feedwordpress
- Remove specific page/post from feed
- Is there a way to have a dual WP feed (full/partial)?
- How to add more than one RSS Feed Link for wordpress
- How to retrieve the list of all posts ever published via the feed?
- Update feed more frequently
- Create unique page without header.php for json feed
- w3 total cache keeps minifying my feeds
- How to use is_feed() to target a category feed?
- How did I enable atom feeds in a fresh WP3 install?
- Adding a featured image to atom feed
- Add custom profile info into Feed
- How to filter out an iframe from feed
- combine multiple feeds with fetch_feed and display blog titles for each item?
- RSS feed validity and Google Adsense
- Possible to get feed to return latest updated posts rather than latest published?
- Removing the FeedBurner redirect
- Options for authenticated feeds
- ERROR: Your feed is invalid (after update WP4.7) in custom types
- Server stressed by /feed
- How to get feed for pages?
- How can i realize a semi-private research diary blog
- WordPress feeds and publish date
- Editing feed for thumbnails and link
- feed appearing different in the three main browsers
- How to customize feed?
- Fetch_Feed cURL error 28
- Using fetch_feed to retrieve items with non common titles
- How to output WordPress feed in a non-WordPress site?
- Which plugin can do horizontal scrolling of RSS feeds in WordPress [closed]
- add_feed rewrite overwriting standard permalinks
- Change conditionally a variable value for different feeds
- fetch_feed Performance Issue
- Googlebot adding /feed at the end of my URLs
- Check if feed is fetched successfully
- How can I set my RSS feed time to update feed quicker
- Why is my comment feed broken?
- Require authorization for access to RSS feeds, but leave posts public
- after server upgrade, if I enable custom permalinks, my /feed stops working
- Using links (link_rss field) as the source for fetch_feed
- RSS feed showing deleted post
- wordpress feed link change
- Why I don’t see all my post in feed in WordPress
- How can I force fetch_feed to return real URL?
- Default Wordress RSS Widget does not work on a subdomain site, works when I move it
- Expire Header for custom XML feed
- My RSS feed is not working
- Get link for feed of specific post type AND taxonomy
- How to remove feeds from WordPress totally?
- a lot of errors with feedwordpress
- Does the FD Feedburner plugin create feeds for categories
- fetch_feed function works on template index.php but not in plugin/wp-admin
- Conditional tag to show content in custom rss feed?
- Need correct results from 6 rss (fetch_feed)
- How can I rename the element to in my RSS?
- Password Protect a Podcast Feed?
- How to fetch all the movie details from IMDB
- Does it makes sense to have {post}/feed?
- display posts, pages and custom post types from another wordpress site
- Custom RSS causing timeout for website
- How to include own css on wordpress tinymce editor?
- Adding extra authentication field in login page
- How can I remove certain HTML tags from the RSS feed?
- Responsive Images – Generating multiple images from Theme Customizer control upload?
- Structure for projects and clients
- Global, network-wide shortcodes or text replace functions
- Sidebar links for different pages
- Adding custom field in all widgets, but at the top of the form, in admin area
- How to check if a meta value has already been assigned to any user?
- Automatically add date to the auto generation of post slug
- Replace text in the Title
- Save meta box values as an array to wp_postmeta
- creating new field on mysql
- Use staging media files on development site in WordPress
- Enqueue scripts based on options
- Inline-Table under TwentyTwelve not working
- A WP dev site that displays content from a live site’s database but cannot write to wp_posts?
- Will dequeueing in child theme functions.php file prevent Google Fonts from loading?
- Structure of post types for TV Shows and episodes
- Share user access between two wordpress sites
- Background image in login showing in admin area
- Custom Menu (only showing direct cildren) ACF not showing