A very simple plug-in that allows post queries to sort the results by the order specified in the "post__in" parameter.
orderbyparameter set to
query_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: 4 years ago
Active Installs: 50+
Got something to say? Need help?