Title: Edited php without backup
Last modified: September 30, 2016

---

# Edited php without backup

 *  [mrskrylborn](https://wordpress.org/support/users/mrskrylborn/)
 * (@mrskrylborn)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/edited-php-without-backup/)
 * Yes I am a total idiot, I know. And I’ll never do it again…
 * I pasted a strip of code into my header php, and when it didn’t do what I wanted
   I removed it and updated the file. After that my blog hasn’t been able to open.
   It’s at youngandhitched.com
 * Am I totally screwed or can I still fix this?
 * Here’s the php that I edited:
 * <?php
    /** * Template for site header * [@package](https://wordpress.org/support/users/package/)
   themify * [@since](https://wordpress.org/support/users/since/) 1.0.0 */
 * ?>
    <!doctype html> <html <?php language_attributes(); ?>> <head> <meta charset
   =”<?php bloginfo( ‘charset’ ); ?>”> <?php /** * Document title is generated in
   functions.php * Stylesheets and Javascript files are enqueued in functions.php*/
   <?php wp_head(); ?> </head>
 * <body <?php body_class(); ?>>
    <?php themify_base_body_start(); // hook ?> <div
   id=”pagewrap”>
 *  <div id=”headerwrap”>
 *  <?php themify_base_header_before(); // hook ?>
    <header id=”header” class=”pagewidth”
   > <?php themify_base_header_start(); // hook ?> <?php echo themify_base_site_title(‘
   site-logo’ ); ?>
 *  <?php if ( $site_desc = get_bloginfo( ‘description’ ) ) : ?>
    <?php global $
   themify_customizer; ?> <div id=”site-description” class=”site-description”><?
   php echo class_exists( ‘Themify_Customizer’ ) ? $themify_customizer->site_description(
   $site_desc ) : $site_desc; ?></div> <?php endif; ?>
 *  <nav>
    <div id=”menu-icon” class=”mobile-button”><i class=”icon-menu”></i></
   div> <?php wp_nav_menu( array( ‘theme_location’ => ‘main-nav’, ‘fallback_cb’ 
   => ‘themify_base_default_main_nav’, ‘container’ => ”, ‘menu_id’ => ‘main-nav’,‘
   menu_class’ => ‘main-nav’ )); ?> <!– /#main-nav –> </nav>
 *  <?php themify_base_header_end(); // hook ?>
    </header> <!– /#header –> <?php
   themify_base_header_after(); // hook ?>
 *  </div>
    <!– /#headerwrap –>
 *  <div id=”body” class=”clearfix”>
    <?php themify_base_layout_before(); //hook?
   >

The topic ‘Edited php without backup’ is closed to new replies.

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [mrskrylborn](https://wordpress.org/support/users/mrskrylborn/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/edited-php-without-backup/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
