If so, how should the query URL be formatted? I’ve tried:
post_type=cat1&post_type=cat2
post_type=cat1,cat2
post_type=cat1+cat2
This bug report says you could use post_type[]=cat1&post_type[]=cat2
if not for the fact that “all request parameters are converted to strings”. Is this still the case and what does it mean?
You could use
add_feed()
and create new feeds ⦠for each post type combination a separate feed. That’s not what I would call flexible, so I recommend to create an endpoint.The following code creates an endpoint for the root of a WordPress installation. After refreshing the permalinks you get a regular feed at
/multifeed/
(for pages only) or/multifeed/post+page+custom/
for almost any given combination.I am not sure why, but it seems not to work for attachments.
Install as plugin, refresh your permalink settings by just visiting that page â and that’s it.