rendered paste body<?php get_header(); ?> <div id="content"> <?php if (function_exists(refer_thanks)) refer_thanks(); ?> <!-- you can get RThanks Plus on my site, http://hellobmw.com --> <?php if (have_posts()) { ?> <?php while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <div class="entry-title"> <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Länk till <?php the_title(); ?>"><?php the_title(); ?></a></h2> </div> <!-- .entry-title --> <span class="entry-meta">Publicerat av <a href="<?php the_author_url(); ?>"><?php the_author(); ?></a> <?php the_time('M jS, 2007'); ?> i <?php the_category(','); ?> med<a href="<?php comments_link(); ?>"><?php comments_number(' Kommentarer', ' 1 Kommentar', ' % Kommentarer'); ?></a><?php edit_post_link('*', ' ', ''); ?></span> <div class="entry"> <?php if (is_single()) { ?> <?php the_content('Läs resten av inlägget'); ?> <?php } else { ?> <?php the_content(); ?> <?php } ?> </div> <!-- .entry --> <p class="entry-tags">Taggar: <?php if (function_exists(UTW_ShowTagsForCurrentPost)) UTW_ShowTagsForCurrentPost("commalist"); ?></p> <!-- need UTW --> </div> <!-- .post --> <div style="clear:both;"></div> <?php endwhile; ?> <div class="navigation"> <!-- need WP-PageNavi --> <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } else { ?> <div class="alignleft"><?php next_posts_link('« Äldre inlägg') ?></div> <div class="alignright"><?php previous_posts_link('Nyare inlägg »') ?></div> <?php } ?> </div> <!-- .navigation --> <div style="clear:both;"></div> <?php } else { ?> <h2 class="center">Hittade inte</h2> <p class="center">Tyvärr det du letade efter finns inte.</p> <?php } ?> </div> <!-- #content --><?php get_sidebar(); ?><?php get_footer(); ?>