WordPress.org

Support

Support » How-To and Troubleshooting » auto create specific image sizes only when click on "use featured image"?

auto create specific image sizes only when click on "use featured image"?

  • What code I have to put in function.php so the sizes of the photo will not be created automatically but only when “use featured image”?

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    @esmi

    Forum Moderator

    The smaller images that WP creates on an image upload have nothing to do with the featured image – unless your current theme is creating custom versions via add_image().

    My theme creates custom version via add image. So, how I am going to make these custom versions to be created when I click on the “use as featured image”?

    esmi

    @esmi

    Forum Moderator

    You can’t. The extra images are added when the source image is uploaded.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘auto create specific image sizes only when click on "use featured image"?’ is closed to new replies.
Skip to toolbar