Someone please help me with functions.php please
-
I created a child theme with twentyten. So simple, added a css and a blank functions.php to it. Everything works fine but when I add anything in between the php tags in the functions.php and update the file i keep getting this reply:
Warning: Cannot modify header information - headers already sent by (output started at.../public_html/mysite/wp-content/themes/practice theme/functions.php:1) in .../public_html/mysite/wp-admin/theme-editor.php on line 89
line 89 is this:
header("Location: $location");
I can’t figure it out and I can’t understand the error message. I’ve tried deleting the functions.php and uploading a clean blank one and everything is ok until i save the functions.php and I get the same error message. Anybody know what’s wrong?? Thanks for the help
- The topic ‘Someone please help me with functions.php please’ is closed to new replies.