• Resolved Jamie Barlow

    (@stopandsare)


    I’ve managed to break my site!

    I have a themify theme and was mucking around in this file…themify-utils/php…. and now my site, front and backend reads this….

    Parse error: syntax error, unexpected T_VARIABLE in /websites/123reg/LinuxPackage21/st/op/an/stopandstaremarketing.co.uk/public_html/wp-content/themes/metro/themify/themify-utils.php on line 3886

    I was changing what is in the footer in this bit of code and have obviously done something wrong…

    [ Moderator note: Code fixed, please wrap code in backticks or use the code button. ]

    } elseif('right' == $area){
    			$block = 'two';
    		}
    	}
    	if('one' == $block) {
    		$text_block = '? <a href="'.home_url().'">'.get_bloginfo('name').'</a> '.date($date_fmt);
    	} elseif('two' == $block) {
    		$text_block = __('+44 (0)1252 717373');
    	}
    	$key = 'setting-footer_text_'.$area;
    
    	// Get definitive text to display, parse through WPML if available
    	if ( '' != themify_get($key) ) {
    		$data = themify_get_data();
    		if ( function_exists( 'icl_t' ) ) {
    			$text = icl_t('Themify', $key, $data[$key]);
    		} else

    I don’t know what to do as I can’t access any part of my site.

    Thanks

    Jamie

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Problem with my installation’ is closed to new replies.