Code:
<?php get_header(); ?>
<div id="content">
<?php query_posts($query_string . 'paged&posts_per_page=5&cat=-46,-47,-49,-50,-140'); ?>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="entry">
<div id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2><?php if(function_exists('the_ratings')) { the_ratings(); } ?>
<p class="postmetadata"><?php the_time('F jS, Y') ?> by <?php the_author() ?> | Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
<?php the_content('Weiter lesen »'); ?>
</div></div>
<?php endwhile; ?>
<div class="navigation">
<div class="alignleft"><?php next_posts_link('« Previous Entries') ?></div>
<div class="alignright"><?php previous_posts_link('Next Entries »') ?></div>
</div>
<?php else : ?>
<div class="entry">
<h2>Not Found</h2>
<p>Sorry, but you are looking for something that isn't here.</p>
</div>
<?php endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
posts_per_page: Wieviele Beiträge anzeigen lassen?
cat: Welche Kats ausblenden? Minus beachten!!!