conditional page
-
Hi all,
I have been working on an issue for couple of days now and read many posts but no luck ??
I want to have 1 of my pages different than others. to be exact, page#2. in that page, my template will be a bit different like no sidebar, different formatting, etc…
my research led me to this:
on page.php i only put:
<?php if (is_page(‘2’)) {
include(TEMPLATEPATH . ‘/page-full.php’);
} else {
include(TEMPLATEPATH . ‘/page.php’);
}
?>then i created page-full.php with few changes i mentioned above.
well, i doesn’t work. any idea?
much appreciated.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘conditional page’ is closed to new replies.