Saturday, 18 January 2014

How To Enable Post Thumbnails

In Wordpress themes, some of the themes don not provide thumbnail support, in order to enable thumbnail support you have to paste the following snippet in to your functions.php file.


// Enable thumbnails
add_theme_support( 'post-thumbnails' );
set_post_thumbnail_size(200, 200, true); // Normal post thumbnails

No comments:

Post a comment