[wp-hackers] How to change the sorting order by of a custom post type's rss feed?

Simon Blackbourn piemanek at gmail.com
Mon Sep 27 17:01:08 UTC 2010

> I've been trying to setup a (rss) feed for my custom post type.
> This works using the url parameter post_type.
> For example:
> http://wordpress.com/feed/?post_type=my_custom_post_type
> However I would like to change the sorting of the custom posts based on a
> meta key and value.
> I expected something like this:
> http://wordpress.com/feed/?post_type=my_custom_post_type&order_by=meta_key
> Can somebody point me in the right direction on how to achieve this?

i might be wrong, but wouldn't the sorting of posts in a feed be done by the
user's feed reader, by looking at the date field in the xml? if so, you
wouldn't have any control over it from within worpdress.

More information about the wp-hackers mailing list