[wp-trac] [WordPress Trac] #12943: Feeds for custom post types
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 9 20:12:43 UTC 2010
#12943: Feeds for custom post types
-----------------------------+----------------------------------------------
Reporter: matthewhollett | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 3.0
Component: Feeds | Version: 3.0
Severity: normal | Keywords:
-----------------------------+----------------------------------------------
Changes (by rovo89):
* cc: wordpress@… (added)
* keywords: feeds, rss, custom post types =>
Comment:
If you want to have a feed for only one custom post type, that's easy:
Simply use http://example.com/feed/?post_type=yourposttype.
Queries for multiple post types at once are supported internally, however
all request parameters are converted to strings by this line:
https://core.trac.wordpress.org/browser/trunk/wp-
includes/classes.php?rev=14031#L277. Otherwise you could probably use
something like
http://example.com/feed/?post_type[]=yourposttype1&post_type[]=yourposttype2.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12943#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list