Title: functions.php
Last modified: August 24, 2016

---

# functions.php

 *  [rumphius](https://wordpress.org/support/users/rumphius/)
 * (@rumphius)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/functionsphp-13/)
 * I messed up functions.php while trying to add some codes. Could you give me the
   default please?
 * Thanks.

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

 *  Theme Author [OptimizerWP](https://wordpress.org/support/users/layerthemes/)
 * (@layerthemes)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/functionsphp-13/#post-6053094)
 * Hi rumphius
 * You can get the default function.php by downloading the theme again.
 * [Optimizer Theme](https://wordpress.org/themes/optimizer/)
 * Thanks
 *  Thread Starter [rumphius](https://wordpress.org/support/users/rumphius/)
 * (@rumphius)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/functionsphp-13/#post-6053135)
 * Hi,
 * Thanks. I got the default function.php as directed. But even after copying it
   into my wp-admin, and clicking “update file”, I still got the same error message“
   Parse error: syntax error, unexpected ‘{‘ in /home/…/…/wp-content/themes/optimizer/
   functions.php on line 45”. Is there anything else I had to do?
 *  Thread Starter [rumphius](https://wordpress.org/support/users/rumphius/)
 * (@rumphius)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/functionsphp-13/#post-6053139)
 * I have been using the back arrow to make the correction. Looks like I cannot 
   access wp-admin on a new tab.
 *  Theme Author [OptimizerWP](https://wordpress.org/support/users/layerthemes/)
 * (@layerthemes)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/functionsphp-13/#post-6053141)
 * Hi
 * Without making this complex, can you please [export the theme settings](https://www.layerthemes.com/documentation/how-to-export-theme-settings/)
   and install the theme again.
 * Thanks

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

The topic ‘functions.php’ is closed to new replies.

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

 * 4 replies
 * 2 participants
 * Last reply from: [OptimizerWP](https://wordpress.org/support/users/layerthemes/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/functionsphp-13/#post-6053141)
 * Status: not resolved