blob: 7373b7661b683534e240aa116a79b484799c06b6 (
plain) (
blame)
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
|
<?php get_header(); ?>
<div id="main">
<div id="content">
<div class="post">
<?php if ($posts) { ?>
<?php $post = $posts[0]; /* Hack. Set $post so that the_date() works. */ ?>
<?php if (is_day()) { ?>
<h2 class="post-title"><?php the_time('l, F jS, Y'); ?></h2>
<p class="day-date">Daily Archive</p>
<?php } elseif (is_month()) { ?>
<h1 class="post-title cal"><?php the_time('F Y'); ?></h1>
<p class="day-date b">Maandelijks archief.</p>
<?php } elseif (is_year()) { ?>
<h2 class="post-title"><?php the_time('Y'); ?></h2>
<p class="day-date">Yearly Archive</p>
<?php } ?>
<?php } ?>
</div>
<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
<div class="post">
<h2 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<p class="day-date">Gepost door <em><?php the_author() ?></em> op <em><?php the_time('d/m/Y'); ?></em><br />Toegevoegd onder: <?php the_category(', ') ?><?php edit_post_link('Edit','<span class="editlink">','</span>'); ?></p>
<div class="post-content"><?php the_content(''); ?>
<p class="post-info">
<?php comments_popup_link('Geen reactie’s, je kan de eerste zijn »', '1 Reactie »', '% Reactie’s »'); ?><?php if ($post->post_excerpt != "") { ?> | <a href="<?php the_permalink() ?>" class="more">Lees verder »</a><?php } ?>
</p>
<!--
<?php trackback_rdf(); ?>
-->
</div>
<?php comments_template(); ?>
</div>
<?php endforeach; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<!--<p align="center"><?php posts_nav_link() ?></p>-->
<p class="center"><!-- this is ugly -->
<span class="next"><?php previous_posts_link('Volgende »') ?></span>
<span class="previous"><?php next_posts_link('« Vorige') ?></span>
</p>
</div>
<?php get_sidebar(); ?>
</div>
<?php get_footer(); ?>
|