Title: Failed attempt to edit html code
Last modified: August 21, 2016

---

# Failed attempt to edit html code

 *  [Nickka](https://wordpress.org/support/users/nickka/)
 * (@nickka)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/failed-attempt-to-edit-html-code/)
 * I tried to edit my Two-Column Widget code in the MaxMag theme. Now i get the 
   following error:
 * Parse error: syntax error, unexpected T_ENDWHILE in /home/dparadis/public_html/
   wp-content/themes/maxmag/widgets/widget-recent.php on line 64
 * I’m pretty sure the problem lies in this area of the code:
 *  <?php endwhile; ?>
 *  <?php
 *  /* After widget (defined by themes). */
    echo $after_widget; }
 *  /**
 * Can someone PLEASE HELP — MY SITE IS NOW DOWN!

Viewing 1 replies (of 1 total)

 *  Moderator [cubecolour](https://wordpress.org/support/users/numeeja/)
 * (@numeeja)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/failed-attempt-to-edit-html-code/#post-3680879)
 * Use an FTP app such as filezilla to connect to your site files and restore the
   theme file you edited from your last good backup. If you don’t have a backup,
   download a fresh copy of your theme to obtain the file.

Viewing 1 replies (of 1 total)

The topic ‘Failed attempt to edit html code’ is closed to new replies.

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * 1 reply
 * 2 participants
 * Last reply from: [cubecolour](https://wordpress.org/support/users/numeeja/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/failed-attempt-to-edit-html-code/#post-3680879)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
