Title: Edit Functions.php
Last modified: August 20, 2016

---

# Edit Functions.php

 *  [Platfis](https://wordpress.org/support/users/platfis/)
 * (@platfis)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/edit-functionsphp-1/)
 * I accidentaly edited the Functions.php file, I wanted to add Yoast Breadcrumbs
   but it failed, then I deleted the lines, but I must have deleted something else.
   This pops up:
 * `Parse error: syntax error, unexpected '<' in /home/a4149064/public_html/wp-content/
   themes/gopress/functions.php on line 29`
 * In this part
 *     ```
       /*-----------------------------------------------------------------------------------*/
       /*	Images
       /*-----------------------------------------------------------------------------------*/
       if ( function_exists( 'add_theme_support' ) )
       	add_theme_support( 'post-thumbnails' );
   
       if ( function_exists( 'add_image_size' ) ) {
       	add_image_size( 'full-size',  9999, 9999, false );
       	add_image_size( 'small-thumb',  50, 50, true );
       	add_image_size( 'slider',  660, 9999, false );
       	add_image_size( 'post-image',  315, 175, true );}
   
       /*-----------------------------------------------------------------------------------*/
       ```
   
 * Do you know what is wrong?

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

 *  [Chip Bennett](https://wordpress.org/support/users/chipbennett/)
 * (@chipbennett)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/edit-functionsphp-1/#post-2770368)
 * Re-upload an unmodified copy of `functions.php` from the original Theme.
 * In the future: don’t modify original Theme files. [Use a Child Theme instead](http://codex.wordpress.org/Child_Themes).
 *  Thread Starter [Platfis](https://wordpress.org/support/users/platfis/)
 * (@platfis)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/edit-functionsphp-1/#post-2770369)
 * Thank you sir 🙂 I read about Child Themes and how effective they are but not
   how to apply them. Credits to you.
 *  [Frumph](https://wordpress.org/support/users/frumph/)
 * (@frumph)
 * [13 years, 12 months ago](https://wordpress.org/support/topic/edit-functionsphp-1/#post-2770370)
 * ^^ What chip said.

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

The topic ‘Edit Functions.php’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [Frumph](https://wordpress.org/support/users/frumph/)
 * Last activity: [13 years, 12 months ago](https://wordpress.org/support/topic/edit-functionsphp-1/#post-2770370)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
