Stop creating unused image sizes

Hi there, I wouuld like to remove Theme Support for all the Image sizes which are used by the Theme.
According to the WP docs it is possible to remove support via child-theme functions.php like so:

add_action( 'after_setup_theme', 'remove_featured_images_from_child_theme', 11 );

function remove_featured_images_from_child_theme() {
remove_theme_support( 'medium_large');
remove_theme_support( 'blog-portfolio' );
remove_theme_support( 'blog-single' );
}

But this ist not working. Is there another way to do this?

Best, Chris



Comments

  • Hey Chris,
    sorry but we do not support such changes in the theme and in WordPress.
    Most of the images are created by default by WordPress and only some by us, like for portfolio and blog items in the Muffin Builder.
    We suggest you do not disable them.
    thanks
Sign In or Register to comment.