-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path404.php
46 lines (27 loc) · 1.19 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
<?php get_header(); ?>
<div id="wrap" class="clearfix">
<section id="content" class="primary" role="main">
<?php if ( function_exists( 'themezee_breadcrumbs' ) ) themezee_breadcrumbs(); ?>
<div class="type-page">
<h2 class="page-title"><?php esc_html_e( '404: Page not found', 'courage' ); ?></h2>
<div class="entry">
<p><?php esc_html_e( 'It looks like nothing was found at this location. Maybe try a search or one of the links below?', 'courage' ); ?></p>
<?php get_search_form(); ?>
<?php // Set Widget arguments
$args = array(
'before_widget' => '<section class="404-widget">',
'after_widget' => '</section>',
'before_title' => '<h3>',
'after_title' => '</h3>',
); ?>
<?php the_widget( 'WP_Widget_Recent_Posts', '', $args ); ?>
<?php the_widget( 'WP_Widget_Archives', 'dropdown=1', $args ); ?>
<?php the_widget( 'WP_Widget_Categories', 'dropdown=1', $args ); ?>
<?php the_widget( 'WP_Widget_Tag_Cloud', '', $args ); ?>
<?php the_widget( 'WP_Widget_Pages', '', $args ); ?>
</div>
</div>
</section>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>