WordPress.org

Ready to get started?Download WordPress

Forums

WP-PostRatings
Thumbnails on widget (6 posts)

  1. th3r3al
    Member
    Posted 1 year ago #

    The widget is working perfectly but i was looking how to put the thumbnail from the rated post, with the text, not just the title of the post and the rating. Is that possible?

    http://wordpress.org/extend/plugins/wp-postratings/

  2. lukelukeluke
    Member
    Posted 1 year ago #

    I would also like to know how to do this. Did you work it out in the end?

  3. lildragn
    Member
    Posted 1 year ago #

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

    Great plugin btw.

  4. lildragn
    Member
    Posted 1 year ago #

    Anyone? Bueller?

  5. lukelukeluke
    Member
    Posted 1 year ago #

    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>
  6. lildragn
    Member
    Posted 1 year ago #

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

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

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

    Thanks at any rate for responding!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.