Title: Restoring header.php file
Last modified: October 26, 2021

---

# Restoring header.php file

 *  Resolved [learnerama](https://wordpress.org/support/users/learnerama/)
 * (@learnerama)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/restoring-header-php-file-2/)
 * Hi All,
 * My client has edited the live header.php file and lost all of the images from
   the homepage!
 * Is there a way I can revert to a previous version of the PHP file or restore 
   the original header.php with an update to the Neve theme?
 * Thanks in advance
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Frestoring-header-php-file-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [tifaeris](https://wordpress.org/support/users/tifaeris/)
 * (@tifaeris)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/restoring-header-php-file-2/#post-15008079)
 * Hi,
 * I follow the discussion, I have the same problem.
 *  [luciamarinescu](https://wordpress.org/support/users/luciamarinescu/)
 * (@luciamarinescu)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/restoring-header-php-file-2/#post-15009365)
 * Hi [@learnerama](https://wordpress.org/support/users/learnerama/) and [@tifaeris](https://wordpress.org/support/users/tifaeris/)!
 * Thanks for choosing Neve!
 * Updating the theme should bring back the default code in the PHP file. However,
   we strongly advise our users to make all the desired changes in the code only
   using a [child theme](https://docs.themeisle.com/article/985-how-to-create-a-child-theme-for-neve),
   so please keep in mind to create a child theme for any other changes you may 
   want to make in the future.
 * Have a good day!
 *  Thread Starter [learnerama](https://wordpress.org/support/users/learnerama/)
 * (@learnerama)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/restoring-header-php-file-2/#post-15015282)
 * Hi [@luciamarinescu](https://wordpress.org/support/users/luciamarinescu/) , Thanks
   for the advice.
 * Unfortunately, nothing has changed! 😩
 * The assets and structure of the page still haven’t been restored. I just have
   the copy. Do you know of another solution to recover the homepage assets/structure?
 * [https://www.learnerama.co.uk/](https://www.learnerama.co.uk/)
 *  [luciamarinescu](https://wordpress.org/support/users/luciamarinescu/)
 * (@luciamarinescu)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/restoring-header-php-file-2/#post-15022378)
 * Hi [@learnerama](https://wordpress.org/support/users/learnerama/)!
 * I’m sorry to hear updating the theme didn’t help. Another solution to restore
   the default header.php file would be downloading the archive of Neve that can
   be found [here](https://wordpress.org/themes/neve/), searching for the header.
   php file in the folder and copying all its content in the header.php file from
   your site. This way that file will contain again the original code from the theme.
 * I hope this helps!
 * Have a nice day!

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

The topic ‘Restoring header.php file’ is closed to new replies.

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

## Tags

 * [header.php](https://wordpress.org/support/topic-tag/header-php/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 4 replies
 * 3 participants
 * Last reply from: [luciamarinescu](https://wordpress.org/support/users/luciamarinescu/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/restoring-header-php-file-2/#post-15022378)
 * Status: resolved