Support » Fixing WordPress » Blank pages after changing function.php

  • Resolved KEJNAV


    Here is the problem:
    I made my theme , and at the and I wanted to add “Featured Image” possibility and I add these two lines in my functions.php

    add_theme_support( 'post-thumbnails' );
    set_post_thumbnail_size( 649, 245, true );

    After that when I try to update some post and click update , it takes me to post.php but blank page.
    Then I tried to delete these to lines but still don’t working.
    It’s same to options.php > BLANK

    Here is my functions.php

    And here is the blog

Viewing 3 replies - 1 through 3 (of 3 total)
  • How did you fix it? I have exactly the same problem

    These are the lines I added

    if ( function_exists( 'add_theme_support' ) )
    add_theme_support( 'post-thumbnails' );

    I’ve also tried to deactive the new plugins I’ve added lately and restart all plugins via ftp with no success

    I just deleted some blank rows and it works 😀
    Here is my finctions.php now 😉

    It works!
    Now I remember reading about it somewhere..

    Thanks a lot!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Blank pages after changing function.php’ is closed to new replies.