*UPDATE*I need a solution ASAP so I'm willing to pay someone for assistance. Thanks.
Here's what I'm doing:
I'm using WP_Query to display a list of posts within a custom post type with a specific taxonomy. I'm showing post title, a few custom fields and the vote up button, vote down button and the vote results for each post. That all works beautifully.
Here's what I need:
I noticed there is a meta_value_num orderby parameter I can add to my WP_Query array that will display the posts by the numbers in that meta field. Does this plugin store the votes in a meta filed? If so what is it called? Hopefully this is the case.
If this is not possible, what do I need to add to my query to get the posts to display form highest to lowest number of votes?
Here is my query:
$query = new WP_Query( array( 'post_type' => 'build', 'posts_per_page' => -1, 'build_type' => 'barbarian') ); while ( $query->have_posts() ) : $query->the_post();