Support » Plugins » simple post thumbnails

  • Head scratching here: http://wordpress.org/extend/plugins/simple-post-thumbnails/

    I can’t get this to work, have uploaded the files, I can go into a post and add a thumbnail, but when calling the image it wont show up, heres my index.php:

    <?php get_header(); ?>
    <div id="content-container">
    
    <div id="content">
    
    	<div id="body">
    
    	<?php if (have_posts()) : ?>
    
    <?php query_posts('showposts=1&offset=0'); ?>
    
    <?php while (have_posts()) : the_post(); ?>
    <?php p75GetThumbnail($post->ID, 200, 150); ?>
    <h4><?php the_title(); ?></h4>
    <?php the_excerpt (); ?>
    <a class="read-more" href="<?php the_permalink() ?>" title="<?php the_title(); ?>">More...</a>
    <?php endwhile; ?>
    
    <?php query_posts('showposts=1&offset=1'); ?>
    <?php while (have_posts()) : the_post(); ?>
    <h4><?php the_title(); ?></h4>
    <?php the_excerpt (); ?>
    <a class="read-more" href="<?php the_permalink() ?>" title="<?php the_title(); ?>">More...</a>
    <?php endwhile; ?>
    
    <?php query_posts('showposts=1&offset=2'); ?>
    <?php while (have_posts()) : the_post(); ?>
    <h4><?php the_title(); ?></h4>
    <?php the_excerpt (); ?>
    <a class="read-more" href="<?php the_permalink() ?>" title="<?php the_title(); ?>">More...</a>
    <?php endwhile; ?>
    
    <?php query_posts('showposts=1&offset=3'); ?>
    <?php while (have_posts()) : the_post(); ?>
    <h4><?php the_title(); ?></h4>
    <?php the_excerpt (); ?>
    <a class="read-more" href="<?php the_permalink() ?>" title="<?php the_title(); ?>">More...</a>
    <?php endwhile; ?>
    
    	<?php endif; ?>
    
    	</div>
    
    <?php get_footer(); ?>

    Any ideas on how to get the thumbnail to show up?

Viewing 2 replies - 1 through 2 (of 2 total)
  • figured it out:

    <img alt="<?php the_title(); ?>" src="<?php echo p75GetThumbnail($post->ID, null, null); ?>" border="0" />

    i wasn’t echoing anything!

    THANK YOU SO MUCH for posting the actual code – that is not available in the usage instructions – though it should be!!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘simple post thumbnails’ is closed to new replies.