Title: Multiple &quot;Set as&#8230;&quot;
Last modified: August 20, 2016

---

# Multiple "Set as…"

 *  Resolved [sophia_o](https://wordpress.org/support/users/sophia_o/)
 * (@sophia_o)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/multiple-set-as/)
 * Hi!
 * Great plugin!
 * It works nicely except the fact that there are multiple “set as…” links displayed
   in the backend image uploader (in my case 4 for each additional image). Same 
   problem was also already reported two years ago and solved by releasing a new
   version. Is anybody else having the same problem? I have no idea what the reason
   could be…
 * I added this code to the functions.php in the Atahualpa theme:
 *     ```
       //Multiple Featured Images for various Post Types:
   
       if ( function_exists( 'add_theme_support' ) ) { // Added in 2.9
   
       	// Since 3.4.5: WP 2.9 thumbnails support:
       	add_theme_support( 'post-thumbnails' );
       	if ($bfa_ata['post_thumbnail_crop'] == "Yes")
       		set_post_thumbnail_size( $bfa_ata['post_thumbnail_width'], $bfa_ata['post_thumbnail_height'], true );
       	else set_post_thumbnail_size( $bfa_ata['post_thumbnail_width'], $bfa_ata['post_thumbnail_height'] );
   
       add_image_size( 'single-post-thumbnail', 400, 9999 ); // Permalink thumbnail size
       add_image_size('image-thumbnail', 75, 50);
       add_image_size('image-medium', 225, 150);
       add_image_size('image-large', 450, 300);
       add_image_size('image-full', 900, 600);
   
       //Multiple Featured Images Secondary Image for various Post Types:
               if (class_exists('MultiPostThumbnails')) {
                   $types = array('post', 'page', 'xyz');
                   foreach($types as $type) {
                       new MultiPostThumbnails(array(
                           'label' => 'Secondary Image',
                           'id' => 'secondary-image',
                           'post_type' => $type
                           )
                       );
                   }
               }
   
       //Multiple Featured Images Third Image for various Post Types:
               if (class_exists('MultiPostThumbnails')) {
                   $types = array('post', 'page', 'xyz');
                   foreach($types as $type) {
                       new MultiPostThumbnails(array(
                           'label' => 'Third Image',
                           'id' => 'third-image',
                           'post_type' => $type
                           )
                       );
                   }
               }
   
       //Multiple Featured Images Fourth Image for various Post Types:
               if (class_exists('MultiPostThumbnails')) {
                   $types = array('post', 'page', 'xyz');
                   foreach($types as $type) {
                       new MultiPostThumbnails(array(
                           'label' => 'Fourth Image',
                           'id' => 'fourth-image',
                           'post_type' => $type
                           )
                       );
                   }
               }
   
       //Multiple Featured Images Fifth Image for various Post Types:
               if (class_exists('MultiPostThumbnails')) {
                   $types = array('post', 'page', 'xyz');
                   foreach($types as $type) {
                       new MultiPostThumbnails(array(
                           'label' => 'Fifth Image',
                           'id' => 'fifth-image',
                           'post_type' => $type
                           )
                       );
                   }
               }
       ```
   
 * _[Moderator Note: Please post code or markup snippets between backticks or use
   the code button. As it stands, your code may now have been permanently damaged/
   corrupted by the forum’s parser.]_
 * [http://wordpress.org/extend/plugins/multiple-post-thumbnails/](http://wordpress.org/extend/plugins/multiple-post-thumbnails/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [sophia_o](https://wordpress.org/support/users/sophia_o/)
 * (@sophia_o)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/multiple-set-as/#post-3171732)
 * and: only one of the four “set as…” is actually working. any idea anybody?
 *  Plugin Author [Chris Scott](https://wordpress.org/support/users/chrisscott/)
 * (@chrisscott)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/multiple-set-as/#post-3171754)
 * This should be fixed in version 1.4 which was released today.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Multiple "Set as…"’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/multiple-post-thumbnails_d94965.svg)
 * [Multiple Post Thumbnails](https://wordpress.org/plugins/multiple-post-thumbnails/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/multiple-post-thumbnails/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/multiple-post-thumbnails/)
 * [Active Topics](https://wordpress.org/support/plugin/multiple-post-thumbnails/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multiple-post-thumbnails/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multiple-post-thumbnails/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Chris Scott](https://wordpress.org/support/users/chrisscott/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/multiple-set-as/#post-3171754)
 * Status: resolved