Support » Plugin: WP-PostRatings » [Plugin: WP-PostRatings] Highest Rated Post In A Category – with additional info

  • hello,

    I like your plugin very much, thumbs up!

    I have only one problem:
    When I use your code to display the higest rated posts..

    <?php if (function_exists('get_highest_rated_category')): ?>
            <?php get_highest_rated_category(CATEGORY_ID); ?>
    <?php endif; ?>

    .. everything works fine, but the only information that is shown is the Postname and the votes. I would like to show the ‘normal’ information, including excerpt/date of posting/… , like in the loop. Is it possible to show the loop information while having the posts listed by ratings.

    Kind regards,

Viewing 4 replies - 1 through 4 (of 4 total)
  • Did you find an answer for this martin? I’d like to get it to display featured image thumbnail but can’t work it out.


    You can set up some of the template using the ratings templates options in the ratings admin.

    For example you can add excerpt and content etc. Unfortunately the %content% is not displaying embedded video.

    I’m trying to find a way of adding the content without using the template and if I find one I’ll post it here in case it helps.

    I want to display the highest rated video on myt site but because I’ve already used the ratings options in one query I can not use it a second time because it stops the pagination. 🙁

    Has anyone had any luck with this?
    I’m trying to post the featured images for my top rated posts

    I managed to get the thumnail, title and rating displayed in a page by putting this inside the loop in a page template if it helps –

    <a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_post_thumbnail('thumbnail', array('class' => 'alignleft'));?> </a>
    <h6><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h6>
    <h6>Average rating: <?php $key="ratings_average";echo get_post_meta($post->ID, $key, true);?></h6>
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WP-PostRatings] Highest Rated Post In A Category – with additional info’ is closed to new replies.