-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.php
59 lines (46 loc) · 1.61 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
/**
* The template for displaying 404 pages (not found).
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
* @package big-cookbook
*/
get_header(); ?>
<article class="error-404 not-found">
<header class="page-header">
<div class="featured-img focuspoint">
<img src="<?php echo esc_url( get_template_directory_uri() ); ?>/img/404.png" alt="404 Error image" />
</div>
<div id="abstract">
<h1 class="page-title"><?php esc_html_e( 'Oops! It looks like that page is toast.', 'big-cookbook' ); ?></h1>
<a href="javascript:void(0)" class="left-menu button trigger more"><span>More recipes</span></a>
<a href="javascript:void(0)" class="left-menu button trigger less">Continue reading</a>
</div>
</header><!-- .page-header -->
<div id="article_body">
<a id="" href="javascript:void(0)" class="right-menu button trigger"><span>≡</span></a>
<section>
<p><?php esc_html_e( 'It seems like there is nothing pertinent at this location. Maybe try a search?', 'big-cookbook' ); ?></p>
<?php
get_search_form();
?>
<br/>
</section>
</div><!-- #article_body -->
</article><!-- .error-404 not-found ?> -->
<aside id="article_list" class="">
<?php
get_template_part( 'template-parts/content', 'primarymenu' );
?>
<div id="blog-list">
<?php
/* put recent articles in the article list */
get_template_part( 'template-parts/content-recent' );
?>
</div><!-- #blog-list -->
</aside><!-- #article_list -->
</div> <!-- #main -->
</div> <!-- #main-container -->
<?php
get_sidebar();
get_footer();