Featured Image Is Displayed Twice In The Kallyas Theme

By default, the Kallyas theme adds the featured image to the end of the gallery. So when using WooThumbs, it shows up twice. To prevent this, you can add the following function to your child theme’s functions.php file.

 * Remove featured image from gallery.
function iconic_kallyas_remove_thumbnail_from_gallery(){
	remove_filter( 'woocommerce_product_get_gallery_image_ids', 'zn_add_main_image_to_gallery', 10 );

add_action( 'init', 'iconic_kallyas_remove_thumbnail_from_gallery' );

Once added, you may need to clear the image cache under WooCommerce > WooThumbs > Clear Image Cache.

Are you using WooThumbs for WooCommerce yet?

Start your 14-day free trial right now and get instant access to the features described in this article.

or learn more

Was this helpful?

Please let us know if this article was useful. It is the best way to ensure our documentation is as helpful as possible.

WooThumbs for WooCommerce

WooThumbs for WooCommerce

Not got the plugin yet? Get instant access right now, free for 14 days.

or learn more

Still need help?

If you haven't found what you're looking for in our documentation, please contact support.

Get Support