Results 1 to 2 of 2
Nov 30, 2011, 10:16 #1
Theme is breaking WordPress admin
I just installed a theme for a web site, and the theme works right on the pages, just a few tweaks need to be done. The problem is with the admin section. You can see what I mean when I go to the admin section, URL: http://outdoorobsessiontour.com/dev/wp-admin/. The error is:
Warning: Cannot modify header information - headers already sent by (output started at /home/wwwoutdo/public_html/dev/wp-content/themes/wordpress-brown/functions.php:12) in /home/wwwoutdo/public_html/dev/wp-includes/pluggable.php on line 934
if ( function_exists('register_sidebar') )
'before_widget' => '<ul class="category-bg widget %2$s">',
'after_widget' => '</ul>',
'before_title' => '<h2>',
'after_title' => '</h2>',
I don't see any .php file relating to the admin part in the theme's files, so I don't know how it's causing an error.
The default twenty eleven theme for WordPress works just fine as well, only this theme is causing problems.
Nov 30, 2011, 11:02 #2
I figured it out, it was simple. After the closing '?>' tag in functions.php was some blank space. Delete/close thread please!