• franco.pentangeli

    (@francopentangeli)


    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.