Is there a way to make the “Don”t display the Header” option to be standard per page, instead of the now standard “Display the Header”?
The reason for this is that I use the Header in only a few cases. This means for most of my hundreds of pages, I must manually change it to off. Adding to that the possible case where I may forget to disable it.
I was hoping I could change it just like I can turn off sidebar, footer and widgets in the Theme options, but unfortunately there is no option to disable the Header.
I don’t want to disable it with display:none; in CSS as I sometimes do want to use it. And I’m talking about the Title + You are here header, not the logo + menu header.
Thanks in advance!
Hi!
Open up single.php, page.php, index.php and single-portfolio.php and replace
if( get_post_meta(get_the_ID(), 'header', true) != 'no')
with
if( get_post_meta(get_the_ID(), 'header', true) == 'yes')
Regards,
Peter