Thanks but I still can’t really get it working… I use this
<?php
if (is_page('portfolio' || $post->post_parent == '2' )) {
include(TEMPLATEPATH . '/sidebar.php');
} else {
include(TEMPLATEPATH . '/sidebar2.php'); }
?>
in my page.php
is this wrong?
I have tried adding this in so many places and different variations but no matter what I do it always displays sidebar2. Do I have to add something to my functions.php as well?
Thanks for your help, it’s very much appreciated!