Custom Image Sizes for WordPress Custom Designs

add_image_size( 'size-300x600', 300, 600, true ); 
add_image_size( 'size-590x880', 590, 880, true ); 
add_image_size( 'size-530x795', 530, 895, true ); 
add_image_size( 'size-400x540', 400, 540, true ); 
add_image_size( 'size-1000x730', 1000, 730, true ); 
add_image_size( 'size-1220x730', 1220, 730, true ); 
add_image_size( 'size-1300x900', 1300, 900, true ); 

 

put this on functions.php

change it remove or add more

 

 

first part ‘size-300×600‘ is the naming you will see second part 300 , 600 is the size and true for croping.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments