Title: Featured image displaying incorrectly
Last modified: August 21, 2016

---

# Featured image displaying incorrectly

 *  [diveteam](https://wordpress.org/support/users/diveteam/)
 * (@diveteam)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/featured-image-displaying-incorrectly/)
 * I have an issue where my featured images are replicated 8 times above the header
   of my posts as well as in the correct place at the start of my text, see example
   here:
 * [http://www.travelshorts.com/london-with-the-russians/](http://www.travelshorts.com/london-with-the-russians/)
 * Is there any way to remove the 8 extra images and just keep the correct one next
   to the text?
 * This is what my functions.php looks like if that is the issue:
 * <?php
    if ( function_exists(‘register_sidebar’) ) register_sidebar(array(‘name’
   =>’Left Page Sidebar’)); register_sidebar(array(‘name’=>’Right Page Sidebar’));
   register_sidebar(array(‘name’=>’Left Post Sidebar’)); register_sidebar(array(‘
   name’=>’Right Post Sidebar’)); register_sidebar(array(‘name’=>’Contact Page Sidebar’));
   register_sidebar(array(‘name’=>’India Right Page Sidebar’)); // Add support for
   Featured Images if (function_exists(‘add_theme_support’)) { add_theme_support(‘
   post-thumbnails’); add_image_size(‘index-categories’, 150, 150, true); add_image_size(‘
   page-single’, 350, 350, true); } function InsertFeaturedImage($content) { global
   $post; $original_content = $content; if ( current_theme_supports( ‘post-thumbnails’)){
   if ((is_page()) || (is_single())) { $content = the_post_thumbnail(‘page-single’);
   $content .= $original_content; } else { $content = the_post_thumbnail(‘index-
   categories’); $content .= $original_content; } } return $content; } add_filter(‘
   the_content’, ‘InsertFeaturedImage’ );
 * ?>
 * Thanks.
 * Mark

The topic ‘Featured image displaying incorrectly’ is closed to new replies.

## Tags

 * [featured images](https://wordpress.org/support/topic-tag/featured-images/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [diveteam](https://wordpress.org/support/users/diveteam/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/featured-image-displaying-incorrectly/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
