• I want to know, in wich WordPress core file, are defined the query_posts parameter list?

    I want to sort the loop order by a specific field in my posts table (points).

    For the moment, i can sort the loop with any of the default parameter of the query_posts function.

    But if i try to sort the loop using the “points” field in my posts table: for instance here at this website

    <?php if ( have_posts() ) : query_posts($query_string .’&orderby=points&order=ASC’); while ( have_posts() ) : the_post(); ?>

    it doesn’t work.

    anybody can help me?

    maybe add a new parameter “points” to the query_posts function?

    thx

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘query_posts parameter’ is closed to new replies.