Last active
March 24, 2016 04:11
-
-
Save siayi/abc46519fbba4374949f to your computer and use it in GitHub Desktop.
Stop Customizr theme from making duplicates of my images. This is the code to prevent the "duplication"
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
add_action('after_setup_theme', 'remove_custom_thumbnails', 30); | |
function remove_custom_thumbnails(){ | |
remove_image_size('tc-rectangular-size'); //or uncheck the proper option | |
remove_image_size('tc-thumb'); | |
remove_image_size('slider-full'); | |
remove_image_size('slider'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment