---
title: "Featured Image Is Displayed Twice In The Kallyas Theme"
source: "https://docs.nexcess.com/software/kadence/iconic/featured-image-is-displayed-twice-in-the-kallyas-theme/"
description: "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 fo…"
vertical: "Software"
area: "Iconic"
date: "2021-03-25"
last_modified: "2021-03-25"
---

# 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**.
