WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Multiple Post Thumbnails

Adds multiple post thumbnails to a post type. If you've ever wanted more than one Featured Image on a post, this plugin is for you.

  1. Upload the multi-post-thumbnails directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. In your theme's functions.php register a new thumbnail for the post type you want it active for. If post_type is not set it defaults to post.

        if (class_exists('MultiPostThumbnails')) {
            new MultiPostThumbnails(
                array(
                    'label' => 'Secondary Image',
                    'id' => 'secondary-image',
                    'post_type' => 'post'
                )
            );
        }
    
  4. Display the thumbnail in your theme. e.g. for loop templates (outside of the loop, the first argument to MultiPostThumbnails::the_post_thumbnail() will need to be the post type):

        <?php if (class_exists('MultiPostThumbnails')) : MultiPostThumbnails::the_post_thumbnail(get_post_type(), 'secondary-image'); endif; ?>
    

For more, read the full documentation: http://voceconnect.github.io/multi-post-thumbnails/

Requires: 2.9.2 or higher
Compatible up to: 3.9.1
Last Updated: 2014-6-27
Downloads: 99,870

Ratings

4 stars
4.7 out of 5 stars

Support

1 of 8 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Works!

5 people say it works.
0 people say it's broken.

0,1,0
100,3,3 71,7,5
75,8,6 100,7,7
100,6,6
100,3,3
100,1,1 100,1,1
50,8,4 83,6,5
100,1,1
100,3,3
100,3,3
73,11,8 80,5,4 100,1,1 100,4,4
57,7,4
100,12,12 100,8,8 100,1,1
50,2,1 100,3,3
100,3,3
88,8,7 80,5,4
100,5,5 100,1,1
80,5,4 100,4,4 100,1,1
100,4,4 83,6,5 80,5,4
100,5,5
100,2,2
100,5,5
100,1,1
67,6,4
100,1,1
100,1,1
100,2,2
100,5,5