Support » Plugin: WP-PostRatings » Thumbnails on widget

Viewing 5 replies - 1 through 5 (of 5 total)
  • I would also like to know how to do this. Did you work it out in the end?

    Hi, I’m looking for a way to do this as well. I’m displaying highest rated and would like to add a small 150×150 thumbnail next to the listing.

    Great plugin btw.

    Anyone? Bueller?

    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>

    Hmm forgot to mention I wasn’t using the widget, but this code

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

    I’ll continue searching. Surprise it hasn’t been addressed yet.

    Thanks at any rate for responding!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Thumbnails on widget’ is closed to new replies.