Currently, this kind of feature is not supported. You have to find a suitable plugin to achieve the purpose.
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!
Just to recover your site, delete the sixteen folder from your cpanel or File Manager or FTP.
wp-content/themes/sixteen
And do a clean install of sixteen.
For further help, related to sixteen theme contact me directly.