Tag Info

New answers tagged


Just had to register a new image size for a medium image with $crop. It's the simple things!


No need for the filter. You can just call add_image_size later than the parent & it will overwrite.


Wordpress codex has the answer, its below. Set the image size by cropping the image and defining a crop position: add_image_size( 'custom-size', 220, 220, array( 'left', 'top' ) ); // Hard crop left top When setting a crop position, the first value in the array is the x axis crop position, the second is the y axis crop position. ...

Top 50 recent answers are included