This repository was archived by the owner on Sep 30, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path404.php
58 lines (31 loc) · 1.53 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
<?php get_header(); ?>
<div id="content">
<div id="entry_content">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="mobile">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<p class="date"><?php the_time('F jS, Y') ?> <?php comments_popup_link('§ <span class="commentcount">0</span>', '§ <span class="commentcount">1</span>', '§ <span class="commentcount">%</span>'); ?></p>
<div class="mobile_entry">
<?php the_content('» Read the rest of this entry «'); ?>
</div>
<div class="entry">
<?php if (is_single()) { ?>
<?php comments_template(); ?>
<?php } ?>
</div>
</div>
<?php endwhile; ?>
<div class="navigation">
<p class="alignleft"><?php next_posts_link('« Older Entries') ?></p>
<p class="alignright"><?php previous_posts_link('Newer Entries »') ?></p>
</div>
<?php else : ?>
<div class="entry">
<span class="error"><img src="<?php bloginfo('template_directory'); ?>/images/mal.png" alt="error duck" /></span>
<p>Hmmm, seems like what you were looking for isn't here. You might want to give it another try - the server might have hiccuped - or maybe you even spelled something wrong (though it's more likely <strong>I</strong> did).</p>
</div>
<?php endif; ?>
</div> <!-- close entry_content -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>