• Resolved dan.tee

    (@dantee)


    Hello!

    I’m trying to have my photo website gallery template to use a different header from the rest of the site. Reason: the gallery page needs a list of child pages and I can’t get an answer to my previous post about how to have a child list appear only on one page.

    So I thought I’d make a gallery header instead, that has the second line of links. You can view the site as it stands here For clarification of what I’m trying to achieve, look at the non-WP site here and click on the gallery link.

    I’ve tried adding the following to the gallery template (the gallery page has its own template):<?php get_header('gallery.php'); ?> and there’s a file called header-gallery.php in the theme’s folder. I’ve even gone so far as to add some custom text to the gallery header to be 100% certain that it isn’t being loaded and it 100% isn’t.

    What am I doing wrong?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘can't get multi headers to work’ is closed to new replies.