Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( function_exists( 'add_image_size' ) ) {
- add_image_size( 'thumb-new', 236, 158, array( 'center', 'center' ) ); // кадрирование с указанием позиции
- add_image_size( 'category-thumb', 300, 9999 ); // 300 в ширину и без ограничения в высоту
- }
- //
Add Comment
Please, Sign In to add comment