• Resolved massayoshi

    (@massayoshi)


    I have these lines on my function.php file inside my theme’s folder:

    add_theme_support('nav-menus');
    	add_theme_support('post-thumbnails');
    	add_image_size('destaque-thumb', 353, 254, true);
    	add_image_size('news-thumb', 167, 111, true);

    They were working before I moved to a new server. Now it doesn’t seem to be working and I see no errors. I turned on error log on my wp-config.php and got this:

    Use of undefined constant destaque-thumb - assumed 'destaque-thumb' in /home/user/wp-content/themes/theme_name/index.php on line 30

    But I don’t know where to go from there. Can someone gimme a sign.

    Server is debian 6 and using nginx + php-cgi.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘add_theme_support and add_image_size not working’ is closed to new replies.