• Hello,
    I’m trying to get timthumbs to display with wp-postratings
    my existing layout/code that has 2 latest posts.

    <div class="latestof">   <h2>Latest Additions</h2>
    		<ul>
        <?php query_posts('showposts=2'); ?>
        <?php while (have_posts()) : the_post(); ?>
    		<li><div class="date"><?php the_time('F jS, Y') ?></div>
    		<?php the_title(); ?>
    <a title="<?php the_title(); ?>" href="<?php the_permalink(); ?>"><img 
    
    src="<?php bloginfo('template_directory'); ?>/timthumb.php?src=<?php echo 
    
    catch_that_image() ?>&w=180&h=100&zc=1" alt="<?php the_title(); ?>" /></a>
    </li>
        <?php endwhile;?>
        </ul></div>

    I want to change it to the highest rated posts with thumbnails
    Highest rated code:

    <?php if (function_exists('get_highest_rated')): ?>
        <ul>
            <?php get_highest_rated('post', 0, 2); ?>
        </ul>
    <?php endif; ?>

    How can I display the thumbs with my highest rated?
    Thanks

  • The topic ‘wp-postratings timthumbs?’ is closed to new replies.