-
Notifications
You must be signed in to change notification settings - Fork 129
/
Copy path404.php
45 lines (28 loc) · 817 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
36
37
38
39
40
41
42
43
44
45
<?php
/**
* The template for displaying 404 pages (not found).
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
* @package Astra
* @since 1.0.0
*/
get_header(); ?>
<?php if ( ast_page_layout() == 'left-sidebar' ) : ?>
<?php get_sidebar(); ?>
<?php endif ?>
<div id="primary" <?php ast_primary_class(); ?>>
<main id="main" class="site-main" role="main">
<?php ast_entry_before(); ?>
<section class="error-404 not-found">
<?php ast_entry_top(); ?>
<?php ast_entry_content_404_page(); ?>
<?php ast_entry_bottom(); ?>
</section><!-- .error-404 -->
<?php ast_entry_after(); ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php if ( ast_page_layout() == 'right-sidebar' ) : ?>
<?php get_sidebar(); ?>
<?php endif ?>
<?php get_footer(); ?>