Răsfoiți Sursa

Removed #post-not-found as it would never display

If the content of a page is not found, it will lead to a 404. This
section of code will never display.
Jeremy Englert 11 ani în urmă
părinte
comite
86f5e2ed59
1 a modificat fișierele cu 1 adăugiri și 15 ștergeri
  1. 1 15
      page.php

+ 1 - 15
page.php

@@ -54,21 +54,7 @@
 
 							</article>
 
-							<?php endwhile; else : ?>
-
-									<article id="post-not-found" class="hentry cf">
-										<header class="article-header">
-											<h1><?php _e( 'Oops, Post Not Found!', 'bonestheme' ); ?></h1>
-										</header>
-										<section class="entry-content">
-											<p><?php _e( 'Uh Oh. Something is missing. Try double checking things.', 'bonestheme' ); ?></p>
-										</section>
-										<footer class="article-footer">
-												<p><?php _e( 'This is the error message in the page.php template.', 'bonestheme' ); ?></p>
-										</footer>
-									</article>
-
-							<?php endif; ?>
+							<?php endwhile; endif; ?>
 
 						</main>