Last active
October 18, 2018 13:49
-
-
Save authentikHQ/19647c97d1c226b04777cfcbfa326084 to your computer and use it in GitHub Desktop.
Add image sizes with the Genesis Framework.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Do NOT include the opening php tag. | |
// Add image sizes. | |
add_image_size( 'front-page-hero', 1600, 900, TRUE ); | |
add_image_size( 'front-page-square', 400, 400, TRUE ); | |
add_image_size( 'front-page-thumbnail', 320, 180, TRUE ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment