This the page template, it’s currently the same as the default page template. Where should I enter the query_posts() function?
<?php
/*
Template Name: Main
*/
?>
<?php get_header(); ?>
<div id="content">
<div class="entry">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<div class="head-page"></div>
<?php the_content('Read the rest of this entry »'); ?>
<?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
<div class="entryclose"></div>
</div>
</div>
<?php endwhile; endif; ?>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>