Title: ordering post by date
Last modified: August 19, 2016

---

# ordering post by date

 *  [ravi143kn2000](https://wordpress.org/support/users/ravi143kn2000/)
 * (@ravi143kn2000)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/ordering-post-by-date/)
 * Hi guys
    i am trying to display posts in order of date they are posted but ‘orderby
   =date’ dosent work…. also i tried ordering post by title but order=ASC or DESC
   dosent work at all….. here is my query posts code please help me
 * <?php query_posts($query_string . ‘&orderby=date&order=asc&posts_per_page=-1&
   category_name=car_news’); ?>

Viewing 1 replies (of 1 total)

 *  [Agus Suhanto](https://wordpress.org/support/users/suhanto/)
 * (@suhanto)
 * [15 years, 12 months ago](https://wordpress.org/support/topic/ordering-post-by-date/#post-1592497)
 * Try `post_date` instead of just date. Also use `post_title` instead of plain 
   title.

Viewing 1 replies (of 1 total)

The topic ‘ordering post by date’ is closed to new replies.

## Tags

 * [orderby](https://wordpress.org/support/topic-tag/orderby/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Agus Suhanto](https://wordpress.org/support/users/suhanto/)
 * Last activity: [15 years, 12 months ago](https://wordpress.org/support/topic/ordering-post-by-date/#post-1592497)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
