Title: Pinboard Theme Hacked How To Replace function.php file
Last modified: August 22, 2016

---

# Pinboard Theme Hacked How To Replace function.php file

 *  Resolved [Pap](https://wordpress.org/support/users/kostas-pap/)
 * (@kostas-pap)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/pinboard-theme-hacked-how-to-replace-functionphp-file/)
 * Hi!
 * My website use the Pinboard theme and hacked! I found the infected files and 
   I delete them BUT one of them is in the function.php section and I don’t know
   how to replace this section (function.php) with a fresh one so that to restore
   the infection.
 * Can anyone help me with that? I am an amateur on WordPress!
 * Thank you in advance!

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

 *  [innuvo](https://wordpress.org/support/users/innuvo/)
 * (@innuvo)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/pinboard-theme-hacked-how-to-replace-functionphp-file/#post-5594492)
 * You can download the theme from here:
    [https://wordpress.org/themes/pinboard](https://wordpress.org/themes/pinboard)
 * Once download it, extract the files and look for the functions.php file. If you
   have FTP access, upload it and overwrite it that way.
 * Otherwise, if you have access to your wordpress dashboard you can go to Appearance
   >> editor and look on the right for functions.php.
 * Open the new functions.php file with notepad or similar, copy everything and 
   paste it in place of the old file and press save.
 * FTP is the quickest and easiest way if you have it set up, would take about 30
   seconds to do
 *  Thread Starter [Pap](https://wordpress.org/support/users/kostas-pap/)
 * (@kostas-pap)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/pinboard-theme-hacked-how-to-replace-functionphp-file/#post-5594504)
 * Wow!!! Thank you so much!!!
 * Just did the copy paste method and it works fine!!! Infection gone!!!
 * I really appreciate your quick response and awesome reply!
 * Thank you so so so much!!! 🙂
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/pinboard-theme-hacked-how-to-replace-functionphp-file/#post-5594529)
 * If your site was hacked, you need to make sure you’ve completely cleaned it up
   and secured the site or it will likely happen again.
 * See:
 * [http://codex.wordpress.org/FAQ_My_site_was_hacked](http://codex.wordpress.org/FAQ_My_site_was_hacked)
   
   [http://wordpress.org/support/topic/268083#post-1065779](http://wordpress.org/support/topic/268083#post-1065779)
   [http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/](http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/)
   [http://ottopress.com/2009/hacked-wordpress-backdoors/](http://ottopress.com/2009/hacked-wordpress-backdoors/)
 * Additional Resources:
    [http://sitecheck.sucuri.net/scanner/](http://sitecheck.sucuri.net/scanner/)
   [http://www.unmaskparasites.com/](http://www.unmaskparasites.com/) [http://blog.sucuri.net/2012/03/wordpress-understanding-its-true-vulnerability.html](http://blog.sucuri.net/2012/03/wordpress-understanding-its-true-vulnerability.html)
   [http://blog.sucuri.net/2010/07/understanding-and-cleaning-the-pharma-hack-on-wordpress.html](http://blog.sucuri.net/2010/07/understanding-and-cleaning-the-pharma-hack-on-wordpress.html)
   [http://codex.wordpress.org/Hardening_WordPress](http://codex.wordpress.org/Hardening_WordPress)
 *  Thread Starter [Pap](https://wordpress.org/support/users/kostas-pap/)
 * (@kostas-pap)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/pinboard-theme-hacked-how-to-replace-functionphp-file/#post-5594752)
 * Issue Solved! Thank you for your help!!! 🙂

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

The topic ‘Pinboard Theme Hacked How To Replace function.php file’ is closed to 
new replies.

## Tags

 * [hacked](https://wordpress.org/support/topic-tag/hacked/)
 * [infection](https://wordpress.org/support/topic-tag/infection/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [Pap](https://wordpress.org/support/users/kostas-pap/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/pinboard-theme-hacked-how-to-replace-functionphp-file/#post-5594752)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
