This repository has been archived by the owner on Jun 20, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path404.php
44 lines (44 loc) · 1.62 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
<?php
/**
* The template for displaying Single.
*
* @package ThemeIsle.
*/
get_header();
?>
<div class="wide-nav">
<div class="wrapper">
<h3>
<?php
if ( get_theme_mod( 'medica_lite_404_title', '404 ERROR' ) ) {
echo esc_attr( get_theme_mod( 'medica_lite_404_title', '404 ERROR' ) );
}
?>
</h3><!--/h3-->
</div><!--/div .wrapper-->
</div><!--/div .wide-nav-->
</header><!--/header-->
<section id="content">
<div class="wrapper cf">
<div id="posts">
<div class="post">
<h3 class="post-title">
<?php
if ( get_theme_mod( 'medica_lite_404_subtitle', 'The page does not exist' ) ) {
echo esc_attr( get_theme_mod( 'medica_lite_404_subtitle', 'The page does not exist' ) );
}
?>
</h3><!--/h3 .post-title-->
<div class="post-excerpt">
<?php
if ( get_theme_mod( 'medica_lite_404_entry', 'The page you are looking for does not exist, I can take you to the <a href="'. esc_url( home_url() ) .'" title="'. __( 'home page', 'medica-lite' ) .'">'. __( 'home page', 'medica-lite' ) .'</a>.' ) ) {
echo htmlspecialchars_decode( get_theme_mod( 'medica_lite_404_entry', 'The page you are looking for does not exist, I can take you to the <a href="'. esc_url( home_url() ) .'" title="'. __( 'home page', 'medica-lite' ) .'">'. __( 'home page', 'medica-lite' ) .'</a>.' ) );
}
?>
</div><!--/div .post-excerpt-->
</div><!--/div .post-->
</div><!--/div #posts-->
<?php get_sidebar(); ?>
</div><!--/div .wrapper-->
</section><!--/section #content-->
<?php get_footer(); ?>