Support » Plugin: GD Star Rating » [Plugin: GD Star Rating] WP_Query Sorting Problem

  • Why is this snippit not sorting pages properly? It returns records, but not sorted by gdsr_sort.

    $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
               $the_query = new WP_Query(
                   array(
                            'gdsr_sort' => 'rating',
                            'gdsr_order' => 'asc',
                            'post_type' => 'page',
                            'posts_per_page' => 10,
                            'paged' => $paged,
                            'post_parent' => $parent
                        )
               );

    http://wordpress.org/extend/plugins/gd-star-rating/

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: GD Star Rating] WP_Query Sorting Problem’ is closed to new replies.