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?