Created
November 22, 2013 17:34
-
-
Save cliffordp/7603806 to your computer and use it in GitHub Desktop.
Override PageLines DMS thumbnails
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 | |
// from http://www.pagelinestheme.com/stop-cropping-featured-images/ | |
// related to http://www.pagelinestheme.com/access-remove-pagelines-custom-image-sizes/ | |
function pl_dms_override_thumbs(){ | |
//add_image_size( 'aspect-thumb', 900, 600, false ); | |
add_image_size( 'basic-thumb', 400, 400, false ); | |
add_image_size( 'landscape-thumb', 900, 450, false ); | |
} | |
add_action('after_setup_theme', 'pl_dms_override_thumbs', 11); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment