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.6

  • Use medial modal instead of thickbox for WordPress 3.5+ (props mparolisi).
  • Fix getting plugin directory name for il8n (props pixeltechnologies).

1.5

  • Add a size parameter to MultiPostThumbnails::get_post_thumbnail_url to allow getting any registered size.
  • Add context option to the args accepted when instantiating a new MultiPostThumbnails to specify the metabox context. Defaults to side (which it was previously hard coded to).
  • Filter is_protected_meta to hide meta from the Custom Fields metabox by default (props willroy). To unhide them, add add_filter('mpt_unprotect_meta', '__return_true'); to your theme's functions.php.
  • il8n courtesy Horttcore

1.4

  • Add a context parameter to the thickbox opener to narrow down the selection in the media upload tabs to the one being set/viewed (props kevinlangleyjr) which reduces clutter when many thumbnails are registered. Refactor js to use an object (props markparolisi). Hide attachment fields on 3.5 media sidebar.

1.3

  • Don't show set as links in media screens when not in context (props prettyboymp). Add voceplatforms as an author. Updated FAQ.

1.2

  • Only enqueue admin scripts on needed pages (props johnjamesjacoby) and make sure thickbox is loaded (props prettyboymp). Add media-upload script to dependencies for post types that don't already require it (props kevinlangleyjr).

1.1

  • Update FAQ. Clean up readme. Don't yell null. Don't output link to original if there is no image.

1.0

  • Use get_the_ID() in get_the_post_thumbnail. Props helgatheviking.

0.9

  • Increment version only to attempt to get plugin versions back in sync.

0.8

  • Revert init action changes from 0.7. Fixes admin metaboxes not showing when the MultiPostThumbnails class is instantiated in an action instead of functions.php

0.7

  • Add actions/filters on init action. Should fix admin metaboxes not showing or showing out of order. props arizzitano.

0.6

  • Update get_the_post_thumbnail return filter to use format {$post_type}_{$thumb_id}_thumbnail_html which allows filtering by post type and thumbnail id which was the intent. Props gordonbrander.
  • Update plugin URL to point to Plugin Directory

0.5

  • Update readme to check for MultiPostThumbnails class before calling.

0.4

  • Added: optional argument $link_to_original to *_the_post_thumbnails template tags. Thanks to gfors for the suggestion.
  • Fixed: PHP warning in media manager due to non-existent object

0.3

  • Fixed: when displaying the insert link in the media library, check the post_type so it only shows for the registered type.

0.2

  • Update docs and screenshots. Update tested through to 3.0 release.

0.1

  • Initial release.

Requires: 2.9.2 or higher
Compatible up to: 3.5.2
Last Updated: 2013-4-24
Downloads: 88,028

Ratings

4 stars
4.7 out of 5 stars

Support

2 of 7 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 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