WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 1 down vote accepted

gdsr_ftvmin=1 is probably the query parameter you need

share|improve this answer

Have you tried

share|improve this answer
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 posting your answer, you agree to the privacy policy and terms of service.

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