0

I'm building a website that uses the GD star rating plugin.

Right now, I'm using the following code to retrieve two posts of the current page (a custom post type called bbp_topic) and sort them by vote:

<?php query_posts('gdsr_sort=thumbs&posts_per_page=2&post_parent='.$post->ID); ?>

I would like now to only retrieve those post that have 1 or more thumbs up.

Any suggestions?

1

gdsr_ftvmin=1 is probably the query parameter you need

0

Have you tried

gdsr_sort=rating&gdsr_order=desc
  • I don't think that would work since I don't want to retrieve posts that have 0 or less thumbs. – janoChen Mar 24 '11 at 9:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.