• Can anyone help please me get my site back!! Being a half wit and messing around with things I frankly shouldn’t be allowed anywhere near, I added a small piece of code to the custom functions php. Now I get the following message and can’t get into either my site or the WordPress dashboard:

    Parse error: syntax error, unexpected ‘.’ in /home/loz65/public_html/wp-content/themes/thesis_182/custom/custom_functions.php on line 15

    If anyone has any ideas I would be very grateful!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You need to FTP to your website and copy the functions.php file to your desktop. Undo whatever change you made just before it locked… and then FTP it back to your server, overwriting the original.

    You can use an ftp client or the file manager in your hosts control panel to undo the edit you made. Or, you can just use the same tools to upload a replacement copy of the file from your last backup. Or, as a last resort, you can use the same tools to rename/delete the thesis theme entirely and let WordPress fall back to the default theme.

    Thread Starter loz65

    (@loz65)

    Thanks guys. Will give it a go and see how I get on…

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘website locked after adding code to custom functions php’ is closed to new replies.