Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi Rohit,
    I am very sorry to post here, but I am very unfamiliar with how the support group works. I have posted my query but I am not sure if you will come across it, wherever it actually is!

    My website is http://www.nourishinglife-chinesemedicine.com

    I was following instructions from an article on ‘Disabling widget areas without touching theme templates’ – please see http://justintadlock.com/archives/2009/03/06/disable-widget-areas-without-touching-theme-templates#comment-2292319

    I pasted the PHP code given under the title ‘Removing all widget areas’

    <?php

    add_filter( ‘sidebars_widgets’, ‘disable_all_widgets’ );

    function disable_all_widgets( $sidebars_widgets ) {

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

    return $sidebars_widgets;
    }

    ?>

    and now I can’t access my website or do anything to it without the error below appearing:

    Parse error: syntax error, unexpected ‘<‘ in /home/nouris12/public_html/wp-content/themes/sixteen/functions.php on line 225

    I have no idea how to go about correcting this and perhaps shouldn’t have strayed into unknown territory in the first place.
    I would really appreciate any guidance as I have spent hours on the website and am completely unsure what to do now.

    Many thanks,

    Ferne.

    P.S I have been to Chandigarh, fun place!

Viewing 1 replies (of 1 total)