rendered paste body<?php get_header();?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<h2><?php the_date(); ?> <?php the_time() ?></h2>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<div class="info">
<b><?php _e('Fra'); ?> <?php
foreach((get_the_category()) as $cat) {
echo $cat->cat_name . ' ';
} ?> |
<?php _e('Forfatter:'); ?> <?php the_author(); ?> </b> <br/><br/>
</div>
<div>
<?php the_excerpt(); ?>
</div>
<div>
<?php wp_link_pages(); ?>
<div>
<ul class="inline">
<!-- <li><a href="<?php the_permalink() ?>" title="<?php _e('Permalink to'); ?> <?php the_title(); ?>">
<?php _e('Permalink'); ?></a></li> -->
<!-- <li><a href="<?php comments_link(); ?>" title="<?php _e('Comments to'); ?> <?php the_title(); ?>">
<?php _e('Comments'); ?> (<?php comments_number('0','1','%'); ?>)</a></li> -->
<li><?php edit_post_link(__('Edit')); ?></li>
</ul>
</div>
</div>
</div>
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<div>
<ul class="link">
<li class="left"><?php next_posts_link(__('« Previous Entries')) ?></li>
<li class="right"><?php previous_posts_link(__('Next Entries »')) ?></li>
</ul>
</div>
<?php get_footer(); ?>