SHARE
TWEET

Thumbnail Support

a guest Mar 13th, 2013 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Thumbnail Support
  2. add_theme_support( 'post-thumbnails', array( 'post','slides' ) );
  3. set_post_thumbnail_size( 258, 161, true ); // admin thumbnails
  4. add_image_size( 'admin-thumbnail', 120, 75, true ); // admin thumbnails
  5. add_image_size( 'post-thumb', 150, 150, true ); // post thumbnail
  6. add_image_size( 'post-image', 500, 500, true ); // post image
  7. add_image_size( 'slide-thumb', 400, 250, true ); // slide thumbnail
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top