New Zenner
- Join Date:
- Jun 2010
- Posts:
- 32
- Plugin Contributions:
- 0
Can I disable right sidebar when on a cat page which has subcats?
I would like my right hand side bar to NOT show up when you are on a category page which lists sub categories.
I currently am able to hide the sidebox on the index page using:
if ($this_is_home_page == true) {
$flag_disable_right = true;
$flag_disable_left = false;
}
I have been trying to hide subcats using this code:
// the following IF statement can be duplicated/modified as needed to set additional flags
if ($current_page_base == 'cPath=175') {
$flag_disable_right = true;
}
But it's not hiding them.
Any help would be greatly appreciated!