diff options
Diffstat (limited to 'blog/themes/wordpress/else-default/index.php')
-rw-r--r-- | blog/themes/wordpress/else-default/index.php | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/blog/themes/wordpress/else-default/index.php b/blog/themes/wordpress/else-default/index.php new file mode 100644 index 0000000..6f5acfa --- /dev/null +++ b/blog/themes/wordpress/else-default/index.php @@ -0,0 +1,32 @@ +<?php get_header(); ?>
+<div id="main">
+ <div id="content">
+ <?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 ($post->post_excerpt != "")? the_excerpt() : 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(); ?>
\ No newline at end of file |