Could you please tell me why the header is not appearing on this page?
get_header ()
isn’t running.
http://staging.jeremyborum.com/
I’m using a copy of your page template template-blank-6.php
and styling it to have a transparent background with style.css
, but that shouldn’t affect the header.
My page template file is x-child/framework/views/ethos/template-hero-image.php
. The contents are identical to X’s stock template: template-blank-6.php
. The file contains this header code:
if ( apply_filters( 'x_legacy_cranium_headers', true ) ) { x_get_view( 'global', '_header' ); } else { get_header(); }
When I reduce this code to simply read get_header();
then it works. Why would the conditional statement above work in the default templates from X and not in my copy of it?
Many thanks.