• Resolved newbiethis

    (@newbiethis)


    Hi all,

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

    https://www.apaddedcell.com/how-create-multi-column-wigitized-footer-wordpress

    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!

    J

Viewing 4 replies - 1 through 4 (of 4 total)
  • Anonymous User 303747

    (@anonymized-303747)

    Make sure the code is preceeded with

    <?php

    and followed by

    ?>

    Thread Starter newbiethis

    (@newbiethis)

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

    I go to:

    Appearance
    Editor

    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

    (@numeeja)

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

    Thread Starter newbiethis

    (@newbiethis)

    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.