• Hi, Im using the Tempera theme and using the single column template.. I want to be able to remove the header when I create new pages but keep the header on the main page.. we want to use an Iframe to display and navigate through our pages.. can anyone tell me how I do this..

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    I am not too familiar with Tempera, but I can’t imagine this would be a standard change within the theme.

    I think you will need to do some conditional statements within the header.php file.

    You will need to do something like this, around the elements you wish to use for just the homepage only:

    <?php if ( is_home() ) { ?>
    <?php // Enter code you wish to display only on the homepage // ?>
    <?php } else { ?>
    <?php // Enter what you wish to display on all pages, except for the homepage // ?>
    <?php } ?>

    Let me know how you get on.

    Thread Starter Elandrisal

    (@elandrisal)

    thanks Wpenvy… will try it out over the weekend and let you know ??

    gret77

    (@gret77)

    Hi
    I have same problem I would like hide header and footer when I use Iframe
    I use Tempera theme too
    Thank for your answer

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Tempera Theme remove header on new pages’ is closed to new replies.