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.4.2
Last Updated: 2012-10-20
Downloads: 2,152
Got something to say? Need help?