WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need a way to see my photo albums without having to scroll down for each picture. So, is there a way to lose the Header when I open the photo album ? Or, can the photo album open in a new window ? Thanks, Mike

share|improve this question
would a slideshow be a possible solution? – Ray Mitchell Mar 2 '11 at 1:26

That depends on what you are using to display that photo album (a plugin , custom post type, built-in gallery). But if you want to remove the or display parts of your theme conditionally you can use the conditional tags for example:

if your photo album is on a page with id 23 then you can add a condition in your theme's header.php to only display the header if it's not that page

<?php if (!is_page('23')){
         // the header stuff goes here
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.