wp 404 page code

Solutions on MaxInterview for wp 404 page code by the best coders in the world

showing results for - "wp 404 page code"
Mya
18 Jun 2016
1<?php
2/**
3 * The template for displaying 404 pages (Not Found)
4 *
5 * @package WordPress
6 * @subpackage Twenty_Thirteen
7 * @since Twenty Thirteen 1.0
8 */
9
10get_header(); ?>
11
12	<div id="primary" class="content-area">
13		<div id="content" class="site-content" role="main">
14
15			<header class="page-header">
16				<h1 class="page-title"><?php _e( 'Not Found', 'twentythirteen' ); ?></h1>
17			</header>
18
19			<div class="page-wrapper">
20				<div class="page-content">
21					<h2><?php _e( 'This is somewhat embarrassing, isnt it?', 'twentythirteen' ); ?></h2>
22					<p><?php _e( 'It looks like nothing was found at this location. Maybe try a search?', 'twentythirteen' ); ?></p>
23
24					<?php get_search_form(); ?>
25				</div><!-- .page-content -->
26			</div><!-- .page-wrapper -->
27
28		</div><!-- #content -->
29	</div><!-- #primary -->
30
31<?php get_footer(); ?>