Why small-tab add_image_size thumbnail image exists is functions file


Is there any use to
add_image_size( ‘tab-small’, 60, 60 , true); // Small Thumbnail ?

Because it creates 1 more file for nothing


It is used by popular posts widget as you can see in the screenshot below:

If you are not using it you can remove this image size but it is there for a reason.

Is there any proper way to permanently remove it ? :slight_smile:

You can remove it developing code in your child theme functions.php file or in the custom plugin file using the function remove_image_size http://codex.wordpress.org/Function_Reference/remove_image_size

So if I put <?php remove_image_size(tab-small); ?> it will remove it ?

Sorry for late response.

You can add this code inside Child Theme functions.php file:

add_action('init', 'remove_sparkling_tab_image_sizes');

function remove_sparkling_tab_image_sizes() {

Thanks it works :slight_smile: