• 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 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 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)
  • 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

    (@peter-d)

    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.