WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Blank pages after changing function.php (4 posts)

  1. KEJNAV
    Member
    Posted 2 years ago #

    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
    http://pastebin.com/ZmzgMicM

    And here is the blog
    http://skyinx.com/kejnav/wpress/

  2. subpop
    Member
    Posted 2 years ago #

    How did you fix it? I have exactly the same problem

    These are the lines I added

    <?php
    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

  3. KEJNAV
    Member
    Posted 2 years ago #

    I just deleted some blank rows and it works :D
    Here is my finctions.php now ;)

    http://pastebin.com/E7hsC4Cb

  4. subpop
    Member
    Posted 2 years ago #

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

    Thanks a lot!

Topic Closed

This topic has been closed to new replies.

About this Topic