Can someone help me modify the above code to get rid of subsidiaries on certain page templates? I have already moved the subsidiary section under _belowmainasides (so it is within the main container, above the footer). The website under development is http://clearing.dalenhosting.com. You'll see the subsidiaries on the home page but want to get rid of the empty space on subsequent pages.
I tried the below, but it's incorrect:
// filter thematic_subsidiaries ... switch off on certain page templates and blog page
function remove_belowmainasides() {
// We test if we are on the front page
if (is_page('standard') or is_single()) {
// Yes, we are .. leave on
return TRUE;
} else {
// we are not .. switch off
return FALSE;
}
}
// Connect the filter to thematic_subsidiaries()
add_filter('thematic_belowmainasides()', 'remove_widget_area_subsidiaries');
The dev site is http://clearing.dalenhosting.com