-
Notifications
You must be signed in to change notification settings - Fork 3
/
404.php
42 lines (41 loc) · 1.46 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
<?php
/**
* 404 Template
*
* Displays if/when 404 page is required to be displayed
*
* @package Desk_Mess_Mirrored
* @since 1.0
*
* @link http://buynowshop.com/themes/desk-mess-mirrored/
* @link https://github.com/Cais/desk-mess-mirrored/
* @link http://wordpress.org/extend/themes/desk-mess-mirrored/
*
* @author Edward Caissie <edward.caissie@gmail.com>
* @copyright Copyright (c) 2009-2012, Edward Caissie
*
* Last revised December 11, 2011
* @version 2.0
*/
get_header(); ?>
<div id="maintop"></div>
<div id="wrapper">
<div id="content">
<div id="main-blog">
<h1>You have arrived at the 404 page!!!</h1>
<?php if ( have_posts() ) :
while ( have_posts() ) : the_post();
get_template_part( 'desk-mess-mirrored', get_post_format() );
endwhile;
get_template_part( 'dmm-navigation' );
else : ?>
<h2><?php printf( __( 'Search Results for: %s', 'desk-mess-mirrored' ), '<span>' . esc_html( get_search_query() ) . '</span>' ); ?></h2>
<p class="center"><?php _e( 'Sorry, but you are looking for something that is not here.', 'desk-mess-mirrored' ); ?></p>
<?php get_search_form();
endif; ?>
</div><!--end main blog-->
<?php get_sidebar(); ?>
<div class="clear"></div>
</div><!--end content-->
</div><!--end wrapper-->
<?php get_footer(); ?>