Title: Lost original coding for my functions.php!
Last modified: August 21, 2016

---

# Lost original coding for my functions.php!

 *  [SamCnxnTours](https://wordpress.org/support/users/samcnxntours/)
 * (@samcnxntours)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/lost-original-coding-for-my-functionsphp-hellllpppp/)
 * _[topic title moderated – this is a help forum, so there is no need to yell ‘
   HELLLLPPPP!!!’ into the title – [http://codex.wordpress.org/Forum\_Welcome#Choose\_A\_Good\_Topic\_Title](http://codex.wordpress.org/Forum_Welcome#Choose_A_Good_Topic_Title)]
 * I use WordPress through Hostgator, for my company’s website.
    I’m currently trying
   to install some new options to my theme’s customize panel (Using theme twentyfourteen).
   I was adding this code in to my functions.php style sheet through cPanel, and
   deleted lines 1-36!
 * Now if I try logging into my dashboard I recieve this message:
    **Parse error:
   syntax error, unexpected ‘endif’ (T_ENDIF) in /home3/scowan/public_html/wp-includes/
   functions.php on line 2291<**
 * Oh no! How can I restore my original code for this file?
 * oh no!

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

 *  [batharoy](https://wordpress.org/support/users/batharoy/)
 * (@batharoy)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/lost-original-coding-for-my-functionsphp-hellllpppp/#post-4685893)
 * Download the zip file [here](http://wordpress.org/themes/twentyfourteen).
    Pull
   the php file from the zip and upload to the server.
 *  Thread Starter [SamCnxnTours](https://wordpress.org/support/users/samcnxntours/)
 * (@samcnxntours)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/lost-original-coding-for-my-functionsphp-hellllpppp/#post-4685909)
 * Can I not just copy and paste the functions.php code to the functions.php file
   on my cPanel?

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

The topic ‘Lost original coding for my functions.php!’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [style sheet](https://wordpress.org/support/topic-tag/style-sheet/)

 * 2 replies
 * 2 participants
 * Last reply from: [SamCnxnTours](https://wordpress.org/support/users/samcnxntours/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/lost-original-coding-for-my-functionsphp-hellllpppp/#post-4685909)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
