Not the best idea.

Am 14.01.2011 19:53, schrieb Andrew Nacin:
On Fri, Jan 14, 2011 at 1:48 PM, Michael Preuß<[email protected]>wrote:

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()

That's by design. The functions only exist if the theme supports post
thumbnails.
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers



--
http://dynamicinternet.eu
http://wpengineer.com
http://xtreme-theme.com

Twitter: @dynamicmicha

_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to