Support » Fixing WordPress » Posts Section Repeating…

  • STRONGHOLSTUDIOS

    (@strongholstudios)


    I have a church website that is build on wp 2.5…in the sections for teachings the entire series of posts repeats itself…here is the code below…how do i keep it from repeating? the site is http://www.heritagefellowship.net

    <?php query_posts("cat=3"); ?>
    		<?php if (have_posts()) : ?>
    
     	  <?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
    
    		<?php while (have_posts()) : the_post(); ?>
    <font size="5" color="silver" face="Georgia, Times New Roman, Times, serif"><?php the_title(); ?>...</font><br />
    <font size="3" color="black" face="Georgia, Times New Roman, Times, serif"><?php the_time('F jS, Y'); ?></font><br />
    <?php the_excerpt(); ?><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><img src="/images/HCFREAD.png" alt="" height="21" width="120" align="middle" border="0" /></a><br />
    <hr style="color:black;border-style:dashed" />		
    
    		<?php endwhile; ?>
    		<div class="navigation">
    			<div class="alignleft"><?php next_posts_link('&laquo; Older Entries') ?></div>
    			<div class="alignright"><?php previous_posts_link('Newer Entries &raquo;') ?></div>
    		</div>	
    
    		<?php endif; ?>
  • The topic ‘Posts Section Repeating…’ is closed to new replies.