• Hi,
    I have a huge problem, I wasnt able to change my header logo, so i searched the web, and it said to delete a part of the code in
    Appearence-Editor-simplecatch functions, so i did, it was this part:

    if( empty ($options[ 'remove_header_logo' ] ) ) {
    			$simplecatch_headerdetails .= '<h1 id="site-logo"><a href="'.esc_url( home_url( '/' ) ).'" title="'.esc_attr( get_bloginfo( 'name', 'display' ) ).'">';
    
    				// if not empty featured_logo_footer on theme options
    				if ( !empty( $options[ 'featured_logo_header' ] ) ) :
    					$simplecatch_headerdetails .= '<img src="'.esc_url( $options[ 'featured_logo_header' ] ).'" alt="'.get_bloginfo( 'name' ).'" />';
    				else:
    					// if empty featured_logo_footer on theme options, display default Header Logo
    					$simplecatch_headerdetails .='<img src="'. get_template_directory_uri().'/images/logo-head.png" alt="logo" />';
    				endif;

    I think i might had deleted another line accidentaly, and now i try to enter my site and this is what it says:
    Parse error: syntax error, unexpected ‘}’ in /home3/verovene/public_html/wp-content/themes/simple-catch/functions/simplecatch_functions.php on line 211

    Help! what can i do??

Viewing 5 replies - 1 through 5 (of 5 total)
  • You can use your FTP client or the file manager in your hosts control panel to replace the file you were attempting to edit with a copy from your last backup. If you don’t have a backup (see WordPress Backups ) you can download a fresh copy of the Simple Catch theme and replace the file from there.

    Check line 210 of that file … there is probably a missing semi-colon at the end.

    Thread Starter verovenezuela

    (@verovenezuela)

    Clayton, would you explain me how to do so? I’m not that advance, I searched on my Control Panel and FTP client, but then I have no idea what to do. I have the original code, i copied it on Word, i hope i’ll work.

    Thanks a lot

    Don’t copy and paste from Word. Always use a plain text editor. Reason: The short version is, that MS Word formatting is incompatible, and will most likely cause issues. Reference material: Using Text Editors

    Replacing a file is just what it implies. Replace the one that got messed up/damaged with a fresh copy. To do that, you can use an FTP client, or the file manager in your hosts control panel. Your host should have tutorials on both located in their FAQ, and – or – User Knowledge Base resources.

    Basic reference and links to additional information: FTP Clients – “There are two ways of getting files onto your site, and once there, changing them.”

    Thread Starter verovenezuela

    (@verovenezuela)

    Thanks! it was a very hard work for me, but I made it!

    Now i have the same problema that I started with, im unable to change my logos, header andd footer, I try to upload mine, but it just doesn´t recognize it! what could it be? I tried changing the code in funcions.php, but thats when I messed up

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘parse error’ is closed to new replies.