Plugin Directory

WP-Choose-Thumb

A simple way to add a default thumbnail to your post.

Download Version 1.3.5

A simple way to add a default thumbnail to your post. This plugin uses the default wordpress image upload. Choose from all thumbnails in the edit post view.

For theme usage:

Add this function where you want the thumbnail to appear

<?php if(function_exists('wct_display_thumb')){ if(!wct_display_thumb()){ /* Optionally add code for no thumbnail. */  } } ?>

When placed outside "the loop"

<?php
if(function_exists('wct_display_thumb')):
    $style = 'style="padding:5px;"'; // extra styling.
    $postId = $post->ID; // the id of the post.
    if(!wct_display_thumb($style, $postId)): 
    /* Optionally add code for no thumbnail. */
    endif;
endif;
?>

Requires: 2.7 or higher
Compatible up to: 3.0.5
Last Updated: 2010-4-6 Downloads: 6,905

Average Rating

5 stars
4 stars
3 stars
2 stars
1 star
(9 ratings)

Compatibility

+
=
Not enough data

1 person says it works.
0 people say it's broken.

Log in to vote.

100,1,1
100,1,1 100,1,1
50,2,1
100,1,1 100,3,3
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1