How to automatically class post order by "love rate" (ex: in increasing order)? (3 posts)

  1. tomasi514
    Posted 6 years ago #

    I want people to be able to vote or rank different posts on a page. This is no problem, I know several plugin exist.
    The problem is : then how can I automatically order post display in increasing or decreasing order by using the "love ratio" of each post?

  2. esmi
    Forum Moderator
    Posted 6 years ago #

    If you added the "love ratio" as a custom field to each post, you could then try using:

    <?php query_posts('meta_key=love_ratio&orderby=meta_value&order=DESC');


  3. tomasi514
    Posted 6 years ago #

    Ok esmi, thanks a lot for your feed back!
    Would anyone advise me a specific "rate plugin" with a rate value I could quite easily use as esmi says?

Topic Closed

This topic has been closed to new replies.

About this Topic