richardshepherd / TwentyTenFive

Updates the WordPress TwentyTen theme to HTML5
http://twentytenfive.com
GNU General Public License v2.0
91 stars 15 forks source link

Fatal error: Call to undefined function... #2

Closed darronz closed 13 years ago

darronz commented 13 years ago

Hi Richard,

I've installed the theme on a fresh Wordpress 3.0.5 and I get

Fatal error: Call to undefined function has_post_thumbnail() ~/TwentyTenFive/header.php on line 76

I fixed it in my env by adding add_theme_support( 'post-thumbnails' ); to functions.php

richardshepherd commented 13 years ago

I've added this into functions.php, and also merged in the rest of the TwentyTen functions.php file. Hope that helps!