Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 14 years ago

#11364 closed defect (bug) (fixed)

Register Post Thumbnails for specific content/post types

Reported by: ryan's profile ryan Owned by:
Milestone: 2.9 Priority: normal
Severity: normal Version:
Component: Post Thumbnails Keywords: has-patch needs-testing
Focuses: Cc:


Allow themes to register post thumbnails support for specific post/content types. Discussed here:

Attachments (1)

11364.diff (3.7 KB) - added by ryan 15 years ago.

Download all attachments as: .zip

Change History (5)

15 years ago


#1 @scribu
15 years ago

  • Keywords has-patch needs-testing added

#2 @ryan
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [12350]) Allow registering post image support per post type. fixes #11364

#3 @ryan
15 years ago

Register for all types:


For particular types:

add_theme_support('post-images', array('post', 'page'));

#4 @hakre
14 years ago

Related: #11611

Note: See TracTickets for help on using tickets.