Title: Parse Error: syntax error, unexpected &#039;the_content&#039; (T_STRING)
Last modified: August 22, 2016

---

# Parse Error: syntax error, unexpected 'the_content' (T_STRING)

 *  [Peter D](https://wordpress.org/support/users/peter-d/)
 * (@peter-d)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-the_content-t_string/)
 * Parse error: syntax error, unexpected ‘the_content’ (T_STRING) in /home2/ellogen/
   public_html/vancouver-seo-company.com/wp-content/themes/alyeska/functions.php
   on line 24
 * Here is the code from the above
    19 /** 20 * Alyeska Setup 21 * 22 * [@since](https://wordpress.org/support/users/since/)
   2.0.0 23 */ 24 function alyeska_setup() { 25 // Custom background support 26 
   add_theme_support( ‘custom-background’ ); // Only supported with WP v3.4+ 27}
   28 add_action( ‘after_setup_theme’, ‘alyeska_setup’ ); 29 30 /** 31 * Alyeska
   CSS Files 32 * 33 * [@since](https://wordpress.org/support/users/since/) 2.0.0
   34 */ 35 function alyeska_css() {
 * I am not sure how to fix this. Any help is appreciated.
    Thanks

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

 *  [Pioneer Web Design](https://wordpress.org/support/users/swansonphotos/)
 * (@swansonphotos)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-the_content-t_string/#post-5440932)
 *     ```
       24 function alyeska_setup() {
       25	// Custom background support
       26	add_theme_support( 'custom-background' ); // Only supported with WP v3.4+
       27}
       ```
   
 * Since line 24 is a theme function which adds theme support for custom-background,
   your best bet is to ask the Theme Dev this. Ti get site back up now, rename the
   theme folder to old-theme_folder_name or theme_folder_name.bak and have a default
   theme in place….
 *  Thread Starter [Peter D](https://wordpress.org/support/users/peter-d/)
 * (@peter-d)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-the_content-t_string/#post-5440935)
 * Hi PVWD,
    Thanks for that. I have checked it against other sites that have the
   same template and it is the same. Not sure what has occurred. I have taken a 
   back up on Wednesday so I can re install that if required, but what I have just
   read is it looks as though someone has tried to insert text into the functions.
   php editor in Appearance. Will sort it out tomorrow. Thanks for your help.

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

The topic ‘Parse Error: syntax error, unexpected 'the_content' (T_STRING)’ is closed
to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Peter D](https://wordpress.org/support/users/peter-d/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-the_content-t_string/#post-5440935)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
