featured images generation elimination
-
Uploaded images get a featured image generated which I don’t use. The featured image is generated because of code in the function.php as follows:
// This theme uses a custom image size for featured images, displayed on “standard” posts.
add_theme_support( ‘post-thumbnails’ );
set_post_thumbnail_size( 624, 9999 ); // Unlimited height, soft cropI tried adding code to my child function.php. which is (it does not work):
<?php
add_action(‘init’, ‘remove_624_image’);function remove_624_image() {
remove_624_image(‘post-thumbnails’);
}I added this at the bottom just above the “?>” line.
Can anyone help?
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘featured images generation elimination’ is closed to new replies.