Title: Recent Posts Help
Last modified: August 19, 2016

---

# Recent Posts Help

 *  [wingate](https://wordpress.org/support/users/wingate/)
 * (@wingate)
 * [18 years ago](https://wordpress.org/support/topic/recent-posts-help-1/)
 * I have set on my page to show the recentposts.
 * I have this:
 *     ```
       <h3>New Articles</h3>
       <ul  class="recent-posts">
       <?php query_posts('showposts=10'); ?>
       <?php while (have_posts()) : the_post(); ?>
       <li><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></li>
       <?php endwhile; ?>
       </ul class="recent-posts">
       ```
   
 * If i change (‘showposts=10’) with (‘showposts=20’) it really shows 20 posts 😀
   but some of them repeats 2-3 times.
 * How can i make it show last 20 or 30 posts without to repeat them 2-3 times?
 * Or “maybe” does they show 2-3 times because i have them posted 2-3 times same
   articles… (I’ll check and come back with an answer) 🙂
 * Thank You !

Viewing 1 replies (of 1 total)

 *  Thread Starter [wingate](https://wordpress.org/support/users/wingate/)
 * (@wingate)
 * [18 years ago](https://wordpress.org/support/topic/recent-posts-help-1/#post-769990)
 * Problems Solved.
    Somehow i had 3 articles posted by 3 times. I’ve hardly deleted
   them and now the Recent Posts are working well.
 * Still wayting an answer to Troubleshooting to see why it took me 30 minutes to
   delete few articles.
 * Thank you !

Viewing 1 replies (of 1 total)

The topic ‘Recent Posts Help’ is closed to new replies.

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 1 reply
 * 1 participant
 * Last reply from: [wingate](https://wordpress.org/support/users/wingate/)
 * Last activity: [18 years ago](https://wordpress.org/support/topic/recent-posts-help-1/#post-769990)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
