Title: Change posts order method
Last modified: August 19, 2016

---

# Change posts order method

 *  [levani01](https://wordpress.org/support/users/levani01/)
 * (@levani01)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/change-posts-order-method/)
 * Hello
 * I have one problem with wordpress. As you know, new posts are usually on top 
   and I want to change it. I want to automaticly move new posts on bottom. When
   I write new post it must appear as last. How can I do it?
 * Thanks you in advance

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

 *  Thread Starter [levani01](https://wordpress.org/support/users/levani01/)
 * (@levani01)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/change-posts-order-method/#post-824501)
 * Can anyone answer me please?
 *  [sincewelastspoke](https://wordpress.org/support/users/sincewelastspoke/)
 * (@sincewelastspoke)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/change-posts-order-method/#post-824510)
 * Try putting the following just before the Loop initializes in your template file(
   i.e., before `if (have_posts()) : while (have_posts()) : the_post();):`
 * `<?php query_posts('order=ASC'); ?>`
 *  Thread Starter [levani01](https://wordpress.org/support/users/levani01/)
 * (@levani01)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/change-posts-order-method/#post-824515)
 * **sincewelastspoke**
 * Thank you very very much!!!
 *  Thread Starter [levani01](https://wordpress.org/support/users/levani01/)
 * (@levani01)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/change-posts-order-method/#post-824572)
 * Sorry, but there is one problem. After adding this code when i view any category
   I see posts not only from this category but also from all other categories too.
   Can you please help me?
 *  Thread Starter [levani01](https://wordpress.org/support/users/levani01/)
 * (@levani01)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/change-posts-order-method/#post-824587)
 * Please help one more time
 *  [syncbox](https://wordpress.org/support/users/syncbox/)
 * (@syncbox)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/change-posts-order-method/#post-824736)
 * Add the category id, as in
 * `<?php query_posts('cat=51&amp;order=ASC'); ?>`
 * note that the ampersand above was converted from
 *     ```
       &
       ```
   
 *  — a new lame effect here in these forums
 * and, of course, use YOUR category’s ID number!

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

The topic ‘Change posts order method’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [syncbox](https://wordpress.org/support/users/syncbox/)
 * Last activity: [17 years, 1 month ago](https://wordpress.org/support/topic/change-posts-order-method/#post-824736)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
