fix: remove on 404
This commit is contained in:
parent
19c863b007
commit
8234da161e
2 changed files with 6 additions and 2 deletions
|
@ -8,7 +8,11 @@
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<footer id="site-footer" class="show">
|
<footer id="site-footer" class="show">
|
||||||
<p>By <a href="/">Ben</a> | <?php if ( ! is_page('Hi.') && ! is_page('privacy-policy') ): ?><a href="https://github.com/Rumperuu/Omphaloskepsis/issues" target="_blank" rel="noopener noreferrer">Report an Issue</a> | <?php endif; ?><a href="/privacy-policy">Privacy Policy</a></p>
|
<p>By <a href="/">Ben</a> |
|
||||||
|
<?php
|
||||||
|
if ( ! is_page( 'Hi.' ) && ! is_page( 'privacy-policy' ) && ! is_404() ) :
|
||||||
|
?>
|
||||||
|
<a href="https://github.com/Rumperuu/Omphaloskepsis/issues" target="_blank" rel="noopener noreferrer">Report an Issue</a> | <?php endif; ?><a href="/privacy-policy">Privacy Policy</a></p>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body <?php body_class(); ?> id="site-wrapper">
|
<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">
|
<header id="site-header">
|
||||||
<nav id="site-header-nav">
|
<nav id="site-header-nav">
|
||||||
<div class="site-header-nav-item"><a href="/"><h1>Ben Goldsworthy</a></div>
|
<div class="site-header-nav-item"><a href="/"><h1>Ben Goldsworthy</a></div>
|
||||||
|
|
Reference in a new issue