Allright, thanks for the tip. I can’t seem to get it workin though.
This is my code now:
<?php get_header(); ?>
<?php get_sidebar(); ?>
<div id="main">
<div id="main-top"></div>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post">
<div class="post_title" id="PID-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
</div> <!-- close post_title -->
<div class="post_tag">
<?php the_time('F,Y dS') ?>
<?php the_time('h:i'); ?>
<?php if (!is_single()) {?> /
<?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?>
<?php } ?>
<?php edit_post_link('Edit',' / '); ?>
</div> <!-- close post_tag -->
<div class="post_content">
<?php the_content(__('More...')); ?>
</div> <!-- close post_content -->
<?php comments_template(); ?>
<?php if (is_single()) { ?>
<div class="navigation">
<div class="alignleft"><?php previous_post_link(); ?></div>
<div class="alignright"><?php next_post_link(); ?></div>
</div> <!-- close navigation -->
<?php } ?>
</div> <!-- close post -->
<?php endwhile; else: ?>
<!-- No posts yet or No search results (if search.php doesn't exist)-->
<p>Sorry, I can't find anything like that...</p>
<?php endif; ?>
<?php if (!is_single()) { ?>
<div class="navigation">
<div class="alignleft"><?php posts_nav_link('','','« Previous Posts') ?></div>
<div class="alignright"><?php posts_nav_link('','Next Posts »','') ?></div>
</div>
<?php } ?>
<div id="main-bot"></div>
</div><!-- main -->
<?php include 'sidebar2.php';?>
<?php get_footer(); ?>
</div><!-- close content-->
</div><!-- close wrapper-->
</body>
</html>
Where do it put the `query_posts(“cat=17”);
` code?