-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.php
executable file
·78 lines (71 loc) · 2.73 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<?php
/**
* The template for displaying 404 pages (Not Found).
*/
?>
<!DOCTYPE html>
<html <?php language_attributes(); ?> style="margin-top: 0 !important;">
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta content="width=device-width, initial-scale=1.0, user-scalable=no" name="viewport">
<title><?php wp_title( '|', true, 'right' ); ?></title>
<link rel="profile" href="http://gmpg.org/xfn/11" />
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<!--[if lt IE 9]>
<script src="<?php echo get_template_directory_uri(); ?>/assets/js/html5.js" type="text/javascript"></script>
<![endif]-->
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<header id="masthead" class="site-header" role="banner">
<div class="container">
<div id="header">
<div class="row">
<div id="branding" class="span3">
<h1><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
</div>
<div id="sidebar-header" class="span9">
<div class="row"><?php dynamic_sidebar('dw_focus_header'); ?></div>
</div>
</div>
</div>
<nav id="site-navigation" class="main-navigation navbar navbar-inverse" role="navigation">
<div class="navbar-inner">
<?php
wp_nav_menu(array(
'theme_location' => 'primary',
'container' => '',
'menu_class' => 'nav',
'depth' => 1) );
?>
</div>
</nav>
<div id="under-navigation" class="clearfix">
<?php dynamic_sidebar('dw_focus_under_navigation'); ?>
</div>
</div>
</header>
<div id="primary" class="content-area">
<div id="content" class="site-content" role="main">
<article id="post-0" class="post error404 not-found">
<div class="entry-content">
<h2><?php _e('404!','dw_focus') ?></h2>
<p><?php _e( 'The page you were looking for is not here', 'dw_focus' ); ?></p>
<?php get_search_form(); ?>
</div><!-- .entry-content -->
</article><!-- #post-0 .post .error404 .not-found -->
<nav class="main-navigation" role="navigation">
<div class="navbar-inner">
<?php _e('Maybe you are interested in:','dw_focus') ?>
<?php
wp_nav_menu(array(
'theme_location' => 'primary',
'container' => '',
'menu_class' => 'nav',
'depth' => 1) );
?>
</div>
</nav>
</div><!-- #content .site-content -->
</div><!-- #primary .content-area -->
</body>