Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'after_setup_theme', 'wpdocs_theme_setup' );
- function wpdocs_theme_setup() {
- add_image_size( 'category-thumb', 300 ); // 300 pixels wide (and unlimited height)
- add_image_size( 'homepage-thumb', 220, 180, true ); // (cropped)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement