Zen Follower
- Join Date:
- Oct 2012
- Posts:
- 282
- Plugin Contributions:
- 0
PHP code to get Columns off of EZ pages
Hey Everyone,
i'm trying to come up with some PHP code to turn both columns off when the EZ pages are on.
here's the configuration i have right now
home page - Left Col. Off, Right Col. on
all others - Left Col. On, Right Col. off
the PHP code i have which is working so far is this, but will not work once the EZ pages are launched.
if ($this_is_home_page) {
$flag_disable_left = true;
$flag_disable_right = false;
} else {
$flag_disable_left = false;
$flag_disable_right = true;
}
i like that variable $this_is_home_page a lot! is there one such variable for EZ pages?, hope so