moonorongo
6/7/2017 - 2:39 PM

[Custom image size] Add custom size images (new size when upload media) #wordpress #php

[Custom image size] Add custom size images (new size when upload media) #wordpress #php

/*
en el functions.php agregar
*/

    /**
	 * Add thumb-large image size
	 */
    add_image_size('thumb-large', 200, 200, false); // crop: false
    
    // mas info
    // https://developer.wordpress.org/reference/functions/add_image_size/