-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.php
More file actions
47 lines (33 loc) · 1.75 KB
/
404.php
File metadata and controls
47 lines (33 loc) · 1.75 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
40
41
42
43
44
45
46
47
<?php
/**
* General page template
*/
get_header();
?>
<div class="site-content error-404">
<article <?php post_class('wrap'); ?>>
<section class="section">
<div class="u-container">
<div class="flex has-sidebar">
<?php get_template_part( 'partials/menu-ui' ); ?>
<div class="sidebar-masthead section__sidebar flex__item">
<?php get_template_part( 'partials/masthead' ); ?>
</div>
<div class="content section__content flex__item">
<div class="page-header">
<div class="page-title">
<h1 class="h2 u-mt-pull"><?php esc_html_e( 'Nothing Found', 'hsc' ); ?></h1>
</div>
<h2 class="h3 u-mt-3"><?php esc_html_e( 'Sorry, it looks like nothing was found at this location.', 'hsc' ); ?></h2>
<form role="search" method="get" class="search-form u-mt-6" action="<?php echo site_url(); ?>">
<label for="page-404-s" class="h6"><?php _e( 'Maybe try a search?', 'hsc' ); ?></label>
<input id="page-404-s" type="search" class="search-field form-field h3 u-mt-1" placeholder="<?php _e( 'Search', 'hsc' ); ?>" value="<?php echo get_search_query(); ?>" name="s">
</form>
</div>
</div>
</div>
</div>
</section>
</article>
</div><!-- .error-404 -->
<?php get_footer(); ?>