How to create a query that set some elements at the end of the returned array
-
I need to do a query ( with query_posts or wp_query ) that set some elements at the end of the posts array.
For example i have these elements:
1) blue
2) red
3) green
4) red
5) green
6) green
7) blue
8) green
9) blue
10) red
11) red
12) blueAnd im looking for a query that set on this way: ( ex. last elements: red )
1) blue
2) green
3) green
4) green
5) blue
6) green
7) blue
8) blue
9) red
10) red
11) red
12) redWhat should i do? Thanks for all!
- The topic ‘How to create a query that set some elements at the end of the returned array’ is closed to new replies.