-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.php
38 lines (36 loc) · 1.01 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
<?php
if (function_exists('get_header')) {
get_header();
} else {
die();
}
?>
<div class="full-wrap">
<section>
<div class="single main contain-all">
<div class="left-rail">
<div id="mobile-leaderboard"></div>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<article class="post">
<h2><?php the_title(); ?></h2>
<div style="clear: both;"></div>
<?php the_content(); ?>
</article>
<?php endwhile; else: ?>
<p><?php _e('Sorry, there\'s nothing here. Go back <a href="/">home</a>.'); ?></p>
<?php endif; ?>
<?php
if (is_mobile() || is_tablet()) {
echo "<div id='mobile-leaderboard-two'></div>";
dynamic_sidebar('forum teaser');
dynamic_sidebar('latest');
}
?>
<div class="post comments">
<?php comments_template(''); ?>
<?php dynamic_sidebar('double ad'); ?>
</div>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>