Title: Global $query_string with two order params
Last modified: August 20, 2016

---

# Global $query_string with two order params

 *  [franco.pentangeli](https://wordpress.org/support/users/francopentangeli/)
 * (@francopentangeli)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/global-query_string-with-two-order-params/)
 * Hi,
    I want modify the global $query_string with this two order params:
 * 1) &orderby=meta_value_num&meta_key=stelle&order=DESC
    2) $orderby=title$order
   =ASC
 * Now I use only one of them with this code:
 *     ```
       global $wp_query;
       $query_string.= "&orderby=meta_value_num&showposts=200&meta_key=stelle&order=DESC";
       query_posts( $query_string."orderby=title");
       ```
   
 * How can I merge the two order parameters?
    Thanks
 * F

The topic ‘Global $query_string with two order params’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [franco.pentangeli](https://wordpress.org/support/users/francopentangeli/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/global-query_string-with-two-order-params/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
