A very simple plug-in that allows post queries to sort the results by the order specified in the "post__in" parameter.
/wp-content/plugins/ directoryorderby parameter set to post__inquery_posts( array( 'post__in' => array(20,10,106), 'orderby' => 'post__in' ) );
That will retrieve posts with IDs 20, 10, and 106 in that order!
Requires: 3.0 or higher
Compatible up to: 3.1.4
Last Updated: 2011-3-25
Downloads: 1,240
Got something to say? Need help?