• so i was messing around with functions.php. and got this message:

    Parse error: syntax error, unexpected ‘}’ in /home/xxxxxxxx/public_html/wp-content/themes/scylla-lite/functions.php on line 8

    how can i fix this, my website has crashed??

    <?php
    	add_theme_support('automatic-feed-links');
    	if ( ! isset( $content_width ) )
    	$content_width = 560;
    
    //Post Thumbnail
    if(function_exists('add_theme_support'))
    }
    
    //Register Menus
    	register_nav_menus( array(
    		'primary' => __( 'Primary Navigation', 'scylla' ),
    		'footer_menu' => __( 'Footer Navigation', 'scylla' )
    	) );
Viewing 1 replies (of 1 total)
  • Thread Starter grizzly1716

    (@grizzly1716)

    more info: i accidentially deleted `//Post Thumbnail
    if(function_exists(‘add_theme_support’))
    }`

    but i put it back, and there is still parse error…

Viewing 1 replies (of 1 total)
  • The topic ‘Parse error: syntax error, unexpected '}'’ is closed to new replies.