WordPress.org

Ready to get started?Download WordPress

Forums

How to paginate posts according to vote count? (3 posts)

  1. reineskye25
    Member
    Posted 2 years ago #

    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/

  2. zex2911
    Member
    Posted 2 years ago #

    You can use query_posts

  3. reineskye25
    Member
    Posted 2 years ago #

    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. ]

Topic Closed

This topic has been closed to new replies.

About this Topic