Init
This commit is contained in:
31
theme/404.php
Normal file
31
theme/404.php
Normal file
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying 404 pages (not found)
|
||||
*
|
||||
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
|
||||
*
|
||||
* @package studio-up
|
||||
*/
|
||||
|
||||
get_header();
|
||||
?>
|
||||
|
||||
<section id="primary">
|
||||
<main id="main">
|
||||
|
||||
<div>
|
||||
<header class="page-header">
|
||||
<h1 class="page-title"><?php esc_html_e( 'Page Not Found', 'studio-up' ); ?></h1>
|
||||
</header><!-- .page-header -->
|
||||
|
||||
<div <?php studio_up_content_class( 'page-content' ); ?>>
|
||||
<p><?php esc_html_e( 'This page could not be found. It might have been removed or renamed, or it may never have existed.', 'studio-up' ); ?></p>
|
||||
<?php get_search_form(); ?>
|
||||
</div><!-- .page-content -->
|
||||
</div>
|
||||
|
||||
</main><!-- #main -->
|
||||
</section><!-- #primary -->
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
Reference in New Issue
Block a user