From 7f3d6064fee62a5cf0bdfd70bc8d7f4378f8455a Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Sun, 1 Nov 2009 08:12:21 +0000 Subject: [PATCH] Add basic post thumbnail support to Default theme. git-svn-id: https://develop.svn.wordpress.org/trunk@12133 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 = "