Skip to:

Opened 14 years ago

Closed 14 years ago

Last modified 8 years ago

#2754 closed enhancement (fixed)

Add post_thumbnails function

Reported by: karmatosed's profile karmatosed Owned by:
Milestone: 1.5 Priority: normal
Severity: Version:
Component: Templates Keywords:


Whilst it may be up to user and a point of debate whether should have in default theme or not. Maybe the function for post_thumbnails should be in the functions file?

	// This theme uses post thumbnails
	add_theme_support( 'post-thumbnails' );

Change History (2)

#1 @djpaul
14 years ago

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

(In [3496]) Refactor functions.php to use appropriate theme-loading actions.
Improved support for custom thumbnails; now supports global page header as well as a per-post/page header.
Key functions are now hookable.
Add full phpDoc.
Props to the WordPress team and Twenty Ten for some of the phpDoc.
Fixes #2749, #2754, #2751.

#2 @DJPaul
8 years ago

  • Component changed from Appearance - Template Parts to Templates
Note: See TracTickets for help on using tickets.