Quantcast
Channel: Topic Tag: error | WordPress.org
Viewing all articles
Browse latest Browse all 31591

vildemiou123 on "Error and no access to my page"

$
0
0

I cant access my wordpress site anymore. I managed to plcae this code in the functions.php file

<?php

add_filter( 'sidebars_widgets', 'disable_all_widgets' );

function disable_all_widgets( $sidebars_widgets ) {

	if ( is_home() )
		$sidebars_widgets = array( false );

	return $sidebars_widgets;
}

?>

[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

after updating the page i got this error message:

Parse error: syntax error, unexpected '<' in /home/friskzmh/public_html/wp-content/themes/weaver/functions.php on line 76

Now i cant access the page or the admin site. How can i change the php so my site gets back?


Viewing all articles
Browse latest Browse all 31591

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>