Title: ascending future posts
Last modified: August 19, 2016

---

# ascending future posts

 *  Resolved [fundin](https://wordpress.org/support/users/fundin/)
 * (@fundin)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/ascending-future-posts/)
 * I’ve got a upcoming events widget list but I want to change the order of the 
   future shows from the one furthest away to the closest one, ascending I would
   think.
 * see: [http://www.josefinfundin.com](http://www.josefinfundin.com)
    widget code:
   [http://wordpress.pastebin.com/m4f8adbec](http://wordpress.pastebin.com/m4f8adbec)
 * thanks in advance

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

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/ascending-future-posts/#post-1397028)
 * Since this is the only query in that code would add `order=ASC`.
 *     ```
       $cat_posts = new WP_Query("order=ASC&showposts=" . $instance["num"] . "&cat=" . $instance["cat"]);
       ```
   
 * Of couse I don’t see anything about `post_status=future` but maybe that’s not
   relevant.
 * See [query_posts()](http://codex.wordpress.org/Template_Tags/query_posts) for
   more arguments.
 *  Thread Starter [fundin](https://wordpress.org/support/users/fundin/)
 * (@fundin)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/ascending-future-posts/#post-1397040)
 * Great thanks, that worked perfectly 🙂
 * Oh yeah, the future post things wasn’t really relevant, that’s a separate plugin
   and really doesn’t have anything to do with the order.. 😀
 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/ascending-future-posts/#post-1397043)
 * I’m also marking this with the category-posts tag.
 * Thanks for the feedback.

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

The topic ‘ascending future 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: [MichaelH](https://wordpress.org/support/users/michaelh/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/ascending-future-posts/#post-1397043)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
