Forums

query on page model for postratings plugin (2 posts)

  1. xtaz
    Member
    Posted 6 months ago #

    Hello !

    I want to display the top rated post on a page different from home.
    I'm using WP-postratings plugin. I'm supposed to use <?php query_posts($query_string.'&amp;r_sortby=highest_rated&amp;r_orderby=desc') ?> to sort the display.
    This code works fine when put in the index page but doesn't when put in my model page (my goal!). It doesn't find me the posts.
    Why is that ? any clues on how to solve that ?

    At the end, I'll need to mix this query with <?php query_posts(array("post__not_in" => array('1'))) ?>
    How?

    Thanks very much !

    Full story there : http://forums.lesterchan.net/index.php/topic,3551.0.html

  2. xtaz
    Member
    Posted 6 months ago #

    no one got a clue ? :(

Reply

You must log in to post.

About this Topic