Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
add_image_size('sidebar-thumb', 120, 120, true); // Hard Crop Mode
add_image_size('homepage-thumb', 220, 180); // Soft Crop Mode
add_image_size('singlepost-thumb', 590, 9999); // Unlimited Height Mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.