Title: Added incorrect code to function.php file: Parse error: syntax error
Last modified: August 21, 2016

---

# Added incorrect code to function.php file: Parse error: syntax error

 *  Resolved [MzBizkitz](https://wordpress.org/support/users/mzbizkitz/)
 * (@mzbizkitz)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/added-incorrect-code-to-functionphp-file-parse-error-syntax-error/)
 * Hey,
    I accidentally added the following code to my functions.php file #form-
   allowed-tags { display:none; } and I can no longer access my website. I went 
   through my web host who put me back onto the 2014 theme but when I tried to activate
   the Expound theme again it came up with the same error. Is there anyway I can
   remove the code from my functions.php file without access to my wp-admin or do
   I have to go back through my web host again? I realise that I should have deleted
   that code before trying to activate the Expound theme again but hindsight is 
   a wonderful thing! My website is [http://www.mzadventures.com](http://www.mzadventures.com)
   Can’t believe I’ve messed this up twice now! Sorry and thanks for any help you
   can give me.

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

 *  Thread Starter [MzBizkitz](https://wordpress.org/support/users/mzbizkitz/)
 * (@mzbizkitz)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/added-incorrect-code-to-functionphp-file-parse-error-syntax-error/#post-4563120)
 *  Thread Starter [MzBizkitz](https://wordpress.org/support/users/mzbizkitz/)
 * (@mzbizkitz)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/added-incorrect-code-to-functionphp-file-parse-error-syntax-error/#post-4563243)
 * It’s ok, I’ve managed to sort my problem out now. I just deleted the old Expound
   theme from my FTP and uploaded it again. All sorted.

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

The topic ‘Added incorrect code to function.php file: Parse error: syntax error’
is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/expound/2.0.1/screenshot.png)
 * Expound
 * [Support Threads](https://wordpress.org/support/theme/expound/)
 * [Active Topics](https://wordpress.org/support/theme/expound/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/expound/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/expound/reviews/)

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * 2 replies
 * 1 participant
 * Last reply from: [MzBizkitz](https://wordpress.org/support/users/mzbizkitz/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/added-incorrect-code-to-functionphp-file-parse-error-syntax-error/#post-4563243)
 * Status: resolved