WordPress.org

Support

Support » Plugins and Hacks » GD Star Rating » [Resolved] Sorting by rating -> title

[Resolved] Sorting by rating -> title

  • Hi,

    I’m trying to sort my category pages by rating -> title.
    This because I want to show posts without a rating sorted by title.
    However i cannot get this to work and can’t find anything on it in the documentation/topics.

    For making the category sort by rating I altered the query in the following way:
    $query->set( ‘gdsr_sort’, ‘rating’ );
    $query->set( ‘gdsr_multi’, 2 );

    So far I’ve tried:
    $query->set( ‘orderby’, ‘title’);

    and:
    $query->set( ‘orderby’, ‘gdsr_sort title’);

    and:
    $query->set( ‘gdsr_sort’, ‘rating title’ );

    All without succes, does anyone have an idea on how to do this?

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

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Sorting by rating -> title’ is closed to new replies.
Skip to toolbar