• Hi urgent help needed please. I’m new to this and have made a big mistake. I added .inpostbox {border: 1px solid #000000; font: Arial;} to the Theme Functions under Editor. I then deleted the code. Now the whole layout of the website has been altered . Getting messages and can’t seem to logout of dashboard.
    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/emberjdc/public_html/wp-content/themes/pod/functions.php:27) in /home/emberjdc/public_html/wp-content/plugins/si-contact-form/si-contact-form.php on line 1997

Viewing 1 replies (of 1 total)
  • This.inpostbox {border: 1px solid #000000; font: Arial;} is CSS and belongs in the theme’s stylesheet, not it’s functions.php file, which should only contain PHP.

    The “headers already sent” message most likely means that you have a space before the opening <?php tag or after the closing ?> tag. (Other possibilities are highly googlable.)

    You shouldn’t edit your theme’s core files, btw. You should use a child theme, instead.

Viewing 1 replies (of 1 total)
  • The topic ‘Help Code added to Theme Functions’ is closed to new replies.