I want to be able to remove the widgetized areas from all pages except the home page.
I attempted it with this code but came up with the following errors.
function remove_widget_areas($content) {
if(!is_front_page()) {
unset($content['1st Subsidiary Aside']);
unset($content['2nd Subsidiary Aside']);
unset($content['3rd Subsidiary Aside']);
return $content;
}
}
add_filter('thematic_widgetized_areas', 'remove_widget_areas');
errors:
Warning: asort() expects parameter 1 to be array, null given in /home1/brokeupc/public_html/dv/wp-content/themes/thematic/library/extensions/widgets-extensions.php on line 336
Warning: Invalid argument supplied for foreach() in /home1/brokeupc/public_html/dv/wp-content/themes/thematic/library/extensions/widgets-extensions.php on line 325
EDIT: I realize that what this code did was take them out of the admin. What I am trying to do is just have them echo
only on the home page.