fix: remove on 404

This commit is contained in:
Ben Goldsworthy 2021-04-07 07:28:21 +01:00
parent 19c863b007
commit 8234da161e
2 changed files with 6 additions and 2 deletions

View file

@ -28,7 +28,7 @@
</head>
<body <?php body_class(); ?> id="site-wrapper">
<?php if ( ! is_page_template( 'centred-page.php' ) ) : ?>
<?php if ( ! is_page_template( 'centred-page.php' ) && ! is_404() ) : ?>
<header id="site-header">
<nav id="site-header-nav">
<div class="site-header-nav-item"><a href="/"><h1>Ben Goldsworthy</a></div>