From 22ae6f36c0a2ac731039a712930a147ead9ce713 Mon Sep 17 00:00:00 2001 From: markjaquith Date: Sun, 1 Nov 2009 08:12:21 +0000 Subject: [PATCH] Add basic post thumbnail support to Default theme. git-svn-id: http://svn.automattic.com/wordpress/trunk@12133 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/default/archive.php | 3 +++ wp-content/themes/default/functions.php | 3 +++ wp-content/themes/default/index.php | 3 +++ 3 files changed, 9 insertions(+) diff --git a/wp-content/themes/default/archive.php b/wp-content/themes/default/archive.php index 70c2a8cec8..505ac91cd8 100644 --- a/wp-content/themes/default/archive.php +++ b/wp-content/themes/default/archive.php @@ -40,6 +40,9 @@ get_header();
+ + 'alignleft' ) ); ?> +
diff --git a/wp-content/themes/default/functions.php b/wp-content/themes/default/functions.php index 072ab66272..66fbb6ba52 100644 --- a/wp-content/themes/default/functions.php +++ b/wp-content/themes/default/functions.php @@ -17,6 +17,9 @@ if ( function_exists('register_sidebar') ) { )); } +if ( function_exists( 'add_theme_support' ) ) + add_theme_support( 'post-thumbnails' ); + /** @ignore */ function kubrick_head() { $head = "