This seems simpler to me:
You'd want to hook this to after_setup_theme.PHP Code:$thumbs = get_theme_support( 'post-thumbnails' );
if ($thumbs === false) $thumbs = array ();
if (is_array($thumbs)) {
$thumbs[] = 'slice';
add_theme_support( 'post-thumbnails', $thumbs);
}
Edit: Okay, so get_theme_support is a 3.1 thing, possibly.


LinkBack URL
About LinkBacks
Reply With Quote
