WordPress.org

Support

Support » Themes and Templates » Child Theme functions.php breaks admin

Child Theme functions.php breaks admin

  • I am trying to create a child theme. When I include functions.php the site appears to work OK, but meta functions (login, logout, update post, etc.) create the Cannot modify header fault, like this:
    Warning: Cannot modify header information - headers already sent by (output started at /homepages/9/d271285184/htdocs/wp-content/themes/twentyten-child/functions.php:1) in /homepages/9/d271285184/htdocs/wp-login.php on line 354

    There is no extra white space in functions.php.
    I have reduced functions.php to an open tag, comment, and close tag; the fault persists.
    The Twenty Ten theme exhibits this behavior, as does the Arjuna-X theme.
    I have disabled all plugins.
    Here’s the functions.php file:

    <?php
    // comment
    ?>

    I’ve documented what I’ve done on this page:
    http://arkusinski.net/2011/05/child-wordpress-theme/

    I’m sure I am missing something obvious. Any help is appreciated.

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Child Theme functions.php breaks admin’ is closed to new replies.