[wp-testers] add_theme_support( 'post-thumbnails' )
Michael Preuß
micha at dynamicinternet.eu
Fri Jan 14 18:48:57 UTC 2011
hi,
If add_theme_support( 'post-thumbnails' ); is missing in a theme but in
the loop is
<?php if ( has_post_thumbnail () ) :
the_post_thumbnail( 'thumbnail' );
endif;?>
a Fatal error is shown: *Fatal error*: Call to undefined function
has_post_thumbnail()
Greetings
Michael
--
http://dynamicinternet.eu
http://wpengineer.com
http://xtreme-theme.com
Twitter: @dynamicmicha
More information about the wp-testers
mailing list