• Resolved Radek

    (@wp_neeewbie)


    Hi.
    I have problem with child theme. All things running ok, all except login page.
    When i trying to access via mysite.com/wp-admin i see blank white page and when i go thought my-site.com/wp-login.php i can see warning about disabled cookies. I can temporaily solve this issue by deleting functions.php from my child theme. I think content of functions.php doesnt matter because when i upload blank file problem still exist.
    Any ideas?
    I’m using newest wp 4.1 with radcliffe theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Content in functions.php does matter very much. I would suggest contacting your web host provider for assistance.

    Thread Starter Radek

    (@wp_neeewbie)

    Ok, i paste it here.

    <?php
    
    add_action( 'wp_enqueue_scripts', 'enqueue_parent_theme_style' );
    function enqueue_parent_theme_style() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri().'/style.css' );
    }
    ?>

    Thats all that my functions.php file contains. Admin site won’t load neither with that file or blank file.

    Thread Starter Radek

    (@wp_neeewbie)

    Hi. I solved my problem. functions.php file must be encoded in ANSI, not utf-8 as mine. When i changed encoding, everything works fine. Hope this helps someone.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with child-theme function.php’ is closed to new replies.