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

Bjorn Wijers burobjorn at gmail.com
Mon Sep 27 16:31:33 UTC 2010


Hi,

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?

Thanks in advance!

-- 

met vriendelijke groet,
Bjorn Wijers

* b u r o b j o r n .nl *
digitaal vakmanschap | digital craftsmanship

Werkdagen:
Van maandag t/m donderdag vanaf 10:00
Vrijdag is voor experimenteren en eigen projecten.

Concordiastraat 68-126
3551 EM Utrecht
The Netherlands

tel: +31 6 49 74 78 70
http://www.burobjorn.nl


More information about the wp-hackers mailing list