Support » Fixing WordPress » Error in theme functions.php file!!! Please help!

  • Resolved newbie@this


    Hi all,

    I’ve been trying to edit my themefunctions.php file, to add a widgetized footer, as described at the following site:

    I tried to complete step 1, and add the footer code into my themefunctions.php file, and after I clicked ‘save’, the following message appeared:

    Parse error: syntax error, unexpected ‘}’ in /home/eduspec1/public_html/wp-content/themes/clean-home/functions.php on line 18

    Now everytime I try to edit the theme i can’t!

    I’ve tried removing all the added code, etc, but it still shows that message…

    What can I do?

    Will resetting my theme lose my settings/css? I don’t want to do that…

    Please help me!


Viewing 4 replies - 1 through 4 (of 4 total)
  • Make sure the code is preceeded with


    and followed by


    But I can’t even get to any of the php/css files.

    I go to:


    And then every time I click on the theme, and click ‘select’ it goes to the same error message.

    How do I access the php/css files if this keeps happening?

    Moderator cubecolour


    Download it to your computer using an ftp application such as filezilla. Then upload the edited version.

    it’s fixed!

    well i uploaded the original file via filezilla, as suggested, overwriting the original one.

    works fine now 🙂

    thanks all!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error in theme functions.php file!!! Please help!’ is closed to new replies.