Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Dec 22nd, 2012  |  syntax: None  |  size: 0.18 KB  |  views: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. add_theme_support( 'post-thumbnails' );
  2. set_post_thumbnail_size( 150, 150, true ); // Normal post thumbnails
  3. add_image_size( 'featured-thumbnail', 60, 60 ); // Featured thumbnail size
clone this paste RAW Paste Data