locked out of my own website

  • Unknown's avatar

    ok so I was attempting to hide the widgets on my page and I have jacked my page up… now when I try to login on admin or just try to view my page this error pops up and nothing else :(

    Parse error: syntax error, unexpected ‘<‘ in /home/jarreddd/public_html/wp-content/themes/responsive/functions.php on line 19

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    the blog is actually

    bluff-city-roofing-memphis.com

  • Unknown's avatar

    I dont know if this helps but here is the code i used :/

    Removing all widget areas

    What we’ll be doing in this first function is disabling all widgets on the home page. First, open your theme’s functions.php file and input this PHP code:

    <?php

    add_filter( ‘sidebars_widgets’, ‘disable_all_widgets’ );

    function disable_all_widgets( $sidebars_widgets ) {

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

    return $sidebars_widgets;
    }

    ?>

  • The topic ‘locked out of my own website’ is closed to new replies.