Title: edit function.php and lost my site
Last modified: August 22, 2016

---

# edit function.php and lost my site

 *  Resolved [harubel](https://wordpress.org/support/users/harubel/)
 * (@harubel)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/edit-functionphp-and-lost-my-site/)
 * I installed twenty fourteen theme in wordpress for my domain **[http://www.kodbel.com](http://www.kodbel.com)**.
   To change the “Howdy admin” i edited function.php code of my theme. Now my domain
   is vanished. I could not even login page of my [http://www.kodbel/wp-admin](http://www.kodbel/wp-admin)
   How may i retrieve my site with all my data..any solution there…

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

 *  [emilyTK](https://wordpress.org/support/users/emilytk/)
 * (@emilytk)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/edit-functionphp-and-lost-my-site/#post-5377110)
 * Step 1: [Redownload functions.php off wordpress.org](https://wordpress.org/themes/twentyfourteen).
   
   Step 2: Use your FTP programme to navigate to your theme folder. Step 3: Override
   your messed up functions.php with the one you just redownloaded. Step 4: Ask 
   Google before you edit functions.php again.
 *  Thread Starter [harubel](https://wordpress.org/support/users/harubel/)
 * (@harubel)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/edit-functionphp-and-lost-my-site/#post-5377148)
 * Thanks for your prompt reply. I am newbie here and need more clarification please:
 * for step 1: May I again download the “Twenty Fourteen theme of version 1.2” or
   I will reinstall the wordpress 4.0 !
 * for step 2: give me details of FTP programme procedure to navigate my theme “
   Twenty Fourteen theme of version 1.2”
 * for step 3: from where and how will i execute it.
 * for step 4: I want to change “Howdy admin”. How will i do that
 *  [emilyTK](https://wordpress.org/support/users/emilytk/)
 * (@emilytk)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/edit-functionphp-and-lost-my-site/#post-5377173)
 * Nope, all you really need is the one file: functions.php. It’s located in the
   main folder (`wp-content/themes/twentyfourteen/functions.php`).
 * There is a [guide on using FTP programmes in the WordPress Codex](http://codex.wordpress.org/FTP_Clients).
   Find the location of your bad functions.php (same location as above), and override
   it with the newly downloaded functions.php. The WordPress Codex will tell you
   how to do that.
 * In order to replace the “Howdy admin” bit, you can use plain simple plugins. 
   If you only want to get rid of the “Howdy” part, here’s an example plugin: [https://wordpress.org/plugins/tm-replace-howdy/](https://wordpress.org/plugins/tm-replace-howdy/)
   
   There’s plenty more plugins where that came from.
 * If you ever think there’s something about WordPress you’d like to change: There’s
   probably already a [plugin](https://wordpress.org/plugins/) for it.
 * Happy customising!
 *  Thread Starter [harubel](https://wordpress.org/support/users/harubel/)
 * (@harubel)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/edit-functionphp-and-lost-my-site/#post-5377240)
 * Wao!
    At last it is solved and I thanked wordpress team very much.
 * Please give me some advice to improve my site [http://www.kodbel.com](http://www.kodbel.com)
 * Regards
 *  [emilyTK](https://wordpress.org/support/users/emilytk/)
 * (@emilytk)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/edit-functionphp-and-lost-my-site/#post-5377241)
 * [There’s a WordPress subforum for those kinds of requests](https://wordpress.org/support/forum/your-wordpress).

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

The topic ‘edit function.php and lost my site’ is closed to new replies.

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

## Tags

 * [function.php](https://wordpress.org/support/topic-tag/function-php/)
 * [Twenty Fourteen](https://wordpress.org/support/topic-tag/twenty-fourteen/)

 * 5 replies
 * 2 participants
 * Last reply from: [emilyTK](https://wordpress.org/support/users/emilytk/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/edit-functionphp-and-lost-my-site/#post-5377241)
 * Status: resolved