Title: I messed up with functions.php&#8230;HELP
Last modified: August 19, 2016

---

# I messed up with functions.php…HELP

 *  Resolved [elkdee](https://wordpress.org/support/users/elkdee/)
 * (@elkdee)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/i-messed-up-with-functionsphphelp/)
 * I messed up when trying to add the shortcode you suggested on your site to add.
   I was modding the functions.php file from the WP dashboard and then this error
   started appearing : “Parse error: syntax error, unexpected $end in /public_html/
   mysite/wp-content/themes/mystique/functions.php on line 57”
 * I even replaced the directory completely with a new installation and still get
   it. I cleared out my browser cache but still have the issue.

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

 *  Thread Starter [elkdee](https://wordpress.org/support/users/elkdee/)
 * (@elkdee)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/i-messed-up-with-functionsphphelp/#post-1389159)
 * ok I “fixed” it….too embarrassed to say what the problem was though..
 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/i-messed-up-with-functionsphphelp/#post-1389171)
 * can we guess?
    you put the code in the wordpress `functions.php` instead of the
   theme’s?
 *  Thread Starter [elkdee](https://wordpress.org/support/users/elkdee/)
 * (@elkdee)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/i-messed-up-with-functionsphphelp/#post-1389452)
 * well I was actually uploading the replacement theme to another site’s ftp instead…
   I realized it 2 hours after trying and retrying….was such a n00b moment..haha
 *  [digitalnature](https://wordpress.org/support/users/digitalnature/)
 * (@digitalnature)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/i-messed-up-with-functionsphphelp/#post-1389453)
 * you shouldn’t edit theme files.
    mystique has a ‘user functions’ field in the
   theme options where you can add your php code, just like you would by editing
   the functions.php file

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

The topic ‘I messed up with functions.php…HELP’ is closed to new replies.

 * 4 replies
 * 3 participants
 * Last reply from: [digitalnature](https://wordpress.org/support/users/digitalnature/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/i-messed-up-with-functionsphphelp/#post-1389453)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
