Zen Follower
- Join Date:
- Jan 2009
- Location:
- Vegas Baby!
- Posts:
- 311
- Plugin Contributions:
- 0
Post #1 by charinlasvegas
I'm trying to turn off both left & right columns for the home page only. Turning off the right column works fine but if I try to also turn off the left column all of the content for the home page is wiped out.
Code I am using:
if (in_array($current_page_base,explode(",",'index')) ) {
$flag_disable_right = true;
}
if (in_array($current_page_base,explode(",",'index')) ) {
$flag_disable_left = true;
}
I also tried
if ($this_is_home_page) {
$flag_disable_right = true;
$flag_disable_left = true;
}
What am I doing wrong?
Completed: BellaFavori.com
In Progress: WeddingDivasLV.com
Coming Soon: ???