-
rabidfox76
I’m building my first sites since GP 2.0 was released and trying to learn how things work in the new system.
I’m starting with the Wilderness starter site and for now, have a temporary front page that should have no Wilderness content on it. To do that, I hid all the elements from my TempHome page. The header (logo / navigation / book now) is still showing. Then I went to elements and set Header and Headermerge to exlude the Temphome page.
The header is still showing. (I’ve removed all the pages from the menu, so now I’m down to just the logo and Book Now.)
I’d like to understand where it’s coming from so I can turn it off and also so I can determine how the Book Now button is set.
Thanks!
-
Hi there,
I do not see your homepage; it looks like a coming soon page.
However, to exclude the homepage from the elements location, you need to select
Front page.Try that and let me know if this works!
-
rabidfox76
It is a Coming Soon page… that’s why I don’t want the Wilderness header visible.
Excluding it from Front Page worked. How come it didn’t work earlier when I excluded it from TempHome (the name of the temporary home page)?
I didn’t really want to exclude it from the home page because I will want the header back once I have the real home page visible. But I am happy to have the header gone on that page. Thank you!
-
Excluding it from Front Page worked. How come it didn’t work earlier when I excluded it from TempHome (the name of the temporary home page)?
When a page is assigned as homepage, its WP conditional tag changes from
is_page()tois_front_page(), which means it’s no longer a regular page, so page > page name won’t work in this way. -
rabidfox76
Thank you, Ying! I was worried that the exclusion might be unreliable, but it makes sense that the front page is a special case.
-
You are welcome 🙂
- You must be logged in to reply to this topic.