-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.php
More file actions
39 lines (35 loc) · 1.25 KB
/
Copy path404.php
File metadata and controls
39 lines (35 loc) · 1.25 KB
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
36
37
38
39
<?php
/**
* The template for displaying 404 pages (Not Found).
*
* @package Generate
*/
get_header(); ?>
<div id="primary" <?php generate_content_class(); ?>>
<main id="main" <?php generate_main_class(); ?> itemprop="mainContentOfPage" role="main">
<?php do_action( 'generate_before_main_content' ); ?>
<div class="inside-article">
<?php do_action( 'generate_before_content' ); ?>
<header class="entry-header">
<h1 class="entry-title"
itemprop="headline"><?php echo apply_filters( 'generate_404_title', __( 'Oops! That page can’t be found.', 'generate' ) ); ?></h1>
</header>
<!-- .entry-header -->
<?php do_action( 'generate_after_entry_header' ); ?>
<div class="entry-content" itemprop="text">
<p>
<?php echo apply_filters( 'generate_404_text', __( 'It looks like nothing was found at this location. Maybe try one of the links below or a search?', 'generate' ) ); ?>
</p>
<?php get_search_form(); ?>
</div>
<!-- .entry-content -->
<?php do_action( 'generate_after_content' ); ?>
</div>
<!-- .inside-article -->
<?php do_action( 'generate_after_main_content' ); ?>
</main>
<!-- #main -->
</div><!-- #primary -->
<?php
do_action( 'generate_sidebars' );
get_footer();