How to activate cropping for WordPress thumbnail sizes

This snippet is pretty handy if you want to crop your thumbnails instead of scaling them.

Instructions
Add this to your functions.php file.

Comments

One Reply to “How to activate cropping for WordPress thumbnail sizes”

Leave a Reply

Your email address will not be published. Required fields are marked *

Snippet Info

Tested with Wordpress v. 4.8
Last Modified: 15.05.2018
Last Reviewed: 15.05.2018
Review Status: Needs Review

How to activate cropping for WordPress thumbnail sizes
4.8 (95%) 4 votes
Please report broken snippets.
Report Broken Snippet
Web Hosting