WordPress.org

Support

Support » How-To and Troubleshooting » How to paginate posts according to vote count?

How to paginate posts according to vote count?

  • Hello. Can someone please guide me or atleast give me an idea how to paginate posts according to vote count? Here’s the scenario:

    I am currently developing a site that front end users can submit home designs. Visitors who are registered in the site or logged in using wp fb autoconnect in the sidebar can vote for the designs they like. The home page is displaying posts according to vote count in descending order. The problem is when I click the post and I click the next or previous button it goes to the next post or previous post in the category that the post belongs to. What I want to happen is when users click the next button it will show the next posts according to vote count in descending order. How can I do that? If someone has an idea please help me. I really need help badly. Thanks in advance 🙂

    Anyway here is the site — http://www.codexdeveloperwp.webatu.com/myhometalking/

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can use query_posts

    I know how to make a custom loop or modify the loop by using query_post or wp_query or even use wpdb class but I dont have an idea how to paginate single posts according to vote count in descending order, because the default is ordered by date. Can you please provide a more detailed explanation if you have an idea? Anyway thank for your response 🙂

    [ Please do not bump, it’s not permitted here. ]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to paginate posts according to vote count?’ is closed to new replies.