forked from germanthemes/gt-ambition
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.php
35 lines (23 loc) · 813 Bytes
/
404.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
/**
* The template for displaying 404 pages (not found)
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @version 1.0
* @package GT Ambition
*/
get_header(); ?>
<section class="error-404 not-found type-page">
<header class="entry-header">
<h1 class="entry-title page-title"><?php esc_html_e( '404: Page not found', 'gt-ambition' ); ?></h1>
</header><!-- .entry-header -->
<div class="entry-content">
<p><?php esc_html_e( 'It looks like nothing was found at this location. Maybe try a search or one of the links below?', 'gt-ambition' ); ?></p>
<?php get_search_form(); ?>
<?php the_widget( 'WP_Widget_Recent_Posts' ); ?>
<?php the_widget( 'WP_Widget_Pages' ); ?>
</div><!-- .entry-content -->
</section><!-- .error-404 -->
<?php
get_footer();