hi,
nachdem ich meine seite auf einen anderen server geladen habe, bekomme ich folgenden fehler mit meinen custom post types:
Code
Warning: Missing argument 2 for add_post_type_support(), called in /www/htdocs/w00ad6d8/mycrotrend/kunden/ironworks/wp-content/themes/ironworks/functions.php on line 58 and defined in /www/htdocs/w00ad6d8/mycrotrend/kunden/ironworks/wp-includes/post.php on line 1229
zeile 58 in meiner functions.php sind meine thumbnails
PHP
if (function_exists('add_theme_support'))
{
add_theme_support('post-thumbnails');
add_image_size('small-thumbnail', 241, 180);
add_image_size('big-thumbnail', 700, 500);
}
if (function_exists('add_post_type_support'))
{
add_post_type_support('post-thumbnails');
add_image_size('small-thumbnail', 241, 180);
add_image_size('big-thumbnail', 700, 500);
}
Alles anzeigen
weiss jemand eine lösung?