• Im using this plugin called “Display Last Posts” heres a link

    http://wordpress.org/extend/plugins/display-last-posts/

    now I have it displaying only the lastest post but it displays it twice. WHat can i do to fix this here is a my post code. ITs very simple just to get this work then i will add to it.

    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    
     <?php lastPosts('',''); ?>
    
     <?php endwhile; else: ?>
    
     <!-- The very first "if" tested to see if there were any Posts to -->
     <!-- display.  This "else" part tells what do if there weren't any. -->
     <p>Sorry, no posts matched your criteria.</p>
    
     <!-- REALLY stop The Loop. -->
     <?php endif; ?>

The topic ‘Display First Post Only’ is closed to new replies.