These are code of my wordpress template page & post page.it's repeating twice.is it looping same code?.
please help me to correct the code.
(template page)
<?php /*?>
<?php if(have_posts()):
while(have_posts()): the_post(); ?>
<h1><?php the_title();?></h1>
<p><?php the_content();?></p>
<?php endwhile;
else :
endif;?>
<?php */?>
(WP Page)
<?php */?>
<?php query_posts('cat=4&showposts=8'); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<a>"><?php the_title()?></a>
<?php the_excerpt();?>
<?php endwhile; endif; ?>
<?php */?>