Title: show posts 11-20
Last modified: August 18, 2016

---

# show posts 11-20

 *  [kensavage](https://wordpress.org/support/users/kensavage/)
 * (@kensavage)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/show-posts-11-20/)
 * Is there a way I can show an ordered list of post 11-20 if I am already displaying
   posts one through 10 on the front page of my blog?

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [Joshua Sigar](https://wordpress.org/support/users/alphaoide/)
 * (@alphaoide)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/show-posts-11-20/#post-266167)
 * [http://codex.wordpress.org/Template_Tags/get_posts](http://codex.wordpress.org/Template_Tags/get_posts)
 * Read example above and pay particular attention to the parameter `numberposts`
   and `offset`
 *  [viper007bond](https://wordpress.org/support/users/viper007bond/)
 * (@viper007bond)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/show-posts-11-20/#post-266184)
 * Yeah, you’ll want to run multiple Loops.
 *  Thread Starter [kensavage](https://wordpress.org/support/users/kensavage/)
 * (@kensavage)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/show-posts-11-20/#post-266199)
 * very cool. I’ll try it out now.
 *  Thread Starter [kensavage](https://wordpress.org/support/users/kensavage/)
 * (@kensavage)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/show-posts-11-20/#post-266200)
 * I’ve always shown the most recent 10 posts in the body on my front page. Now 
   I want to show posts 11-20 on the sidebar. The code I’m using is:
 * `
    <ul> <?php $posts = get_posts('numberposts=10&offset=11'); foreach($posts 
   as $post) : ?> <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></
   a></li> <?php endforeach; ?> </ul>
 * It’s now showing the 11-20 most recent posts in the body and sidebar now. How
   do I get this to work?
 *  [Joshua Sigar](https://wordpress.org/support/users/alphaoide/)
 * (@alphaoide)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/show-posts-11-20/#post-266222)
 * Post the whole content of the file that you have now, including the recent addition:
   [http://paste.uni.cc](http://paste.uni.cc)
 *  Thread Starter [kensavage](https://wordpress.org/support/users/kensavage/)
 * (@kensavage)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/show-posts-11-20/#post-266247)
 * The change I made was only in the sidebar.php file.
 *  Thread Starter [kensavage](https://wordpress.org/support/users/kensavage/)
 * (@kensavage)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/show-posts-11-20/#post-266326)
 * Teh above code is taking posts 11-20 and listing them in sidebar and body.
 * I need the body to be 1-10.
 * I read somewhere I need to make another loop?.?.
 *  [TechGnome](https://wordpress.org/support/users/techgnome/)
 * (@techgnome)
 * [20 years, 7 months ago](https://wordpress.org/support/topic/show-posts-11-20/#post-266327)
 * Here’s what you need: [http://codex.wordpress.org/The_Loop#Multiple_Loops](http://codex.wordpress.org/The_Loop#Multiple_Loops)
 * -tg

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘show posts 11-20’ is closed to new replies.

## Tags

 * [count](https://wordpress.org/support/topic-tag/count/)

 * 8 replies
 * 4 participants
 * Last reply from: [TechGnome](https://wordpress.org/support/users/techgnome/)
 * Last activity: [20 years, 7 months ago](https://wordpress.org/support/topic/show-posts-11-20/#post-266327)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
