[resolved] Error in theme functions.php file!!! Please help! (5 posts)

  1. newbie@this
    Posted 6 years ago #

    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!


  2. jvinch
    Posted 6 years ago #

    Make sure the code is preceeded with


    and followed by


  3. newbie@this
    Posted 6 years ago #

    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?

  4. cubecolour
    Posted 6 years ago #

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

  5. newbie@this
    Posted 6 years ago #

    it's fixed!

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

    works fine now :)

    thanks all!

Topic Closed

This topic has been closed to new replies.

About this Topic