Thumbnails on widget (6 posts)

  1. th3r3al
    Posted 3 years 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?


  2. lukelukeluke
    Posted 3 years ago #

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

  3. lildragn
    Posted 3 years 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
    Posted 3 years ago #

    Anyone? Bueller?

  5. lukelukeluke
    Posted 3 years 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
    Posted 3 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.