Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if ( function_exists( 'add_theme_support' ) ) {
- // Add support for post thumbnails
- add_theme_support( 'post-thumbnails' );
- // Change thumbnail size to 270 x 270 with cropping
- set_post_thumbnail_size( 270, 270, true );
- // Create a custom image size of 270 x 270 with cropping
- add_image_size('wpf-thumb', 270, 270, true);
- }
Add Comment
Please, Sign In to add comment