Different header for different page templates
-
I would like to omit some things from my header (ie. navigation menu and header image) on one of my page templates. I’m thinking I need to go into the header file and add some ‘if’ statements. Something that says, “If this page is using template popup.php don’t include nav menu, else include nav menu (‘popup.php’ is my page template).”
Unfortunately I don’t know how to write the code for that. Any help?
https://www.completeulysses.com/listen/ulysses/ (click on links to see popup.php page template)
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Different header for different page templates’ is closed to new replies.