Created
March 24, 2016 04:09
-
-
Save siayi/0131608100906071e47d to your computer and use it in GitHub Desktop.
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