Title: entered a code
Last modified: August 21, 2016

---

# entered a code

 *  Resolved [mlanestudio](https://wordpress.org/support/users/mlanestudio/)
 * (@mlanestudio)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/entered-a-code/)
 * I entered this:
    // ADD CUSTOM POST TYPE add_action( ‘init’, ‘create_post_type’);
   function create_post_type() { register_post_type( ‘generic-content’, array( ‘
   labels’ => array( ‘name’ => __( ‘Generic Content’ ), ‘singular_name’ => __( ‘
   Generic Content’ ) ), ‘public’ => true ) ); } and ended up with this: Parseerror.
   syntax error, unexpected T_STRING/home/content/89/99/47789/html/wp-content/themes/
   minimal-georgia/functions.php on line 607 deleted it out but it did nothing and
   now I need to know what to do. I can not get into the website. Please

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

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/entered-a-code/#post-3793594)
 * You’ll need to use FTP to replace that file with an undamaged copy – see: [http://codex.wordpress.org/FTP_Clients](http://codex.wordpress.org/FTP_Clients)
 * Ask your hosting company if you don’t already have FTP access set up.
 * You can also just deactivate that theme by changing the name on the themes folder
   to something else – say “minimal-georgiaHOLD” and WP will default to twentytwelve
   in that case.
 *  Thread Starter [mlanestudio](https://wordpress.org/support/users/mlanestudio/)
 * (@mlanestudio)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/entered-a-code/#post-3793605)
 * Thank you ever so much. All is restored.

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

The topic ‘entered a code’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [mlanestudio](https://wordpress.org/support/users/mlanestudio/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/entered-a-code/#post-3793605)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
