WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: WP-PostRatings] Create a hotpage (2 posts)

  1. eddioot
    Member
    Posted 2 years ago #

    Hello all,

    i am working on a project that needs posts to be rated by visitors. I installed the WP-PostRatings plugin that works really good.

    However i can't figure out how to create a hotpage that shows posts with a certain score. I found the following code on the plugin website:

    <?php if (function_exists('get_highest_rated')): ?>
        <ul>
            <?php get_highest_rated(); ?>
        </ul>
    <?php endif; ?>

    But this only shows the post titles, i need the complete post. I would also like to be able to give a score range that is displayed, so i can create pages for most popular, medium etc.

    An adjusted WP_Query would be the best but i do not know if i can use the rating values in the query...

    Anyone have an idea if this is possible? :)

    Thanks in advance!

  2. eddioot
    Member
    Posted 2 years ago #

    No ideas about this? I really like this plugin but really need a page with the top-voted posts.

    If anyone can help i would really appreciate it :)

Topic Closed

This topic has been closed to new replies.

About this Topic