Plugin Directory

WP-Choose-Thumb

Author: Dave Ligthart

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;
?>

Download

FYI

Compatibility beta

Your Setup

Log in to vote.

The Consensus (1 reporting)

100%
100,1,1
100,1,1 100,1,1

Average Rating

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