Title: an &#8220;order=asc&#8221; without using &#8220;query_posts&#8221;
Last modified: August 19, 2016

---

# an “order=asc” without using “query_posts”

 *  Resolved [y4](https://wordpress.org/support/users/y4/)
 * (@y4)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/an-orderasc-without-using-query_posts/)
 * Hello.
 * I’ve added `query_posts('order=ASC')` before the `while (have_posts())` code.
 * But i’ve separated the posts for each category. And WordPress brings posts together
   when i use the `query_posts` code. And no, i can’t exclude the posts because 
   i use the `is_category` function for some categories in the same `if`.
 * Therefore, i’m looking for an `order=asc` code that i can make it without using
   the `query_posts` function.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Shane G.](https://wordpress.org/support/users/shane-g-1/)
 * (@shane-g-1)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/an-orderasc-without-using-query_posts/#post-1417068)
 * Hi,
 * Check with these plugins:
 * [http://wordpress.org/extend/plugins/custom-post-order/](http://wordpress.org/extend/plugins/custom-post-order/)
   
   [http://wordpress.org/extend/plugins/postmash/](http://wordpress.org/extend/plugins/postmash/)
 * Thanks
 * Shane G.
 *  Thread Starter [y4](https://wordpress.org/support/users/y4/)
 * (@y4)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/an-orderasc-without-using-query_posts/#post-1417069)
 * without plugins?
 *  Thread Starter [y4](https://wordpress.org/support/users/y4/)
 * (@y4)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/an-orderasc-without-using-query_posts/#post-1417085)
 * edit: ok. it’s correctly workin.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘an “order=asc” without using “query_posts”’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [y4](https://wordpress.org/support/users/y4/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/an-orderasc-without-using-query_posts/#post-1417085)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
