Title: get_archives offset parameter
Last modified: August 18, 2016

---

# get_archives offset parameter

 *  jsinbc
 * [22 years, 4 months ago](https://wordpress.org/support/topic/get_archives-offset-parameter/)
 * I would like to set up my site to include a “Recent Posts” listing. If, for example,
   the blog displayed the 10 newest posts (“entries 1 – 10”) then I would like “
   Recent Posts” to list the tiles of “entries 11 – 20”.
    To do this would only 
   require adding an additional parameter to get_archives which specifies the “entry#”
   at which to start. I could write it myself (and just might), but this introduces
   maintenance hassles and I think it might be of value to others.

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

 *  [antifuse](https://wordpress.org/support/users/antifuse/)
 * (@antifuse)
 * [22 years, 4 months ago](https://wordpress.org/support/topic/get_archives-offset-parameter/#post-33151)
 * You probably don’t want to provide entry #, as that would require knowing what
   the most recent post # is. A simple offset would be nice to start with.
    But 
   while we’re talking about the get_archives function, why is limit a string parameter?
   It should really be an int.
 *  [elisepps](https://wordpress.org/support/users/elisepps/)
 * (@elisepps)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/get_archives-offset-parameter/#post-34140)
 * what “unregistered” has asked is just what I am trying to do, unfortunately, 
   writing it myself is not an option, as I have no clue 🙂
 * I am using Hemingway, which shows the most recent 2 posts in the main body. So
   in the sidebar, where I am listing “recent entries”, I want to EXCLUDE those 
   last 2 entries. how can I do this?
 * thanks, Elisabeth
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/get_archives-offset-parameter/#post-34141)
 * Please, don’t double post after 19 minutes!!!
    (usually it gets deleted)
 *  [elisepps](https://wordpress.org/support/users/elisepps/)
 * (@elisepps)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/get_archives-offset-parameter/#post-34142)
 * I didn’t mean to- promise! I got a message saying “Something odd happened.”- 
   so I thought that meant my reply didn’t work- that’s why I tried to repost. *
   sorry*
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/get_archives-offset-parameter/#post-34143)
 * If your theme is using the “get_archives” template tag mentioned in the title
   of this topic – that one does NOT have an offset parameter:
    [http://codex.wordpress.org/Template_Tags/get_archives](http://codex.wordpress.org/Template_Tags/get_archives)
   Your best bet would be to ask the author of the theme about your request.
 *  [elisepps](https://wordpress.org/support/users/elisepps/)
 * (@elisepps)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/get_archives-offset-parameter/#post-34144)
 * I don’t know how to know if my theme uses that template tag or not, nor am I 
   familiar with the parameters… I have asked at the Hemingway site. thank you.

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

The topic ‘get_archives offset parameter’ is closed to new replies.

 * In: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
 * 6 replies
 * 4 participants
 * Last reply from: [elisepps](https://wordpress.org/support/users/elisepps/)
 * Last activity: [19 years, 11 months ago](https://wordpress.org/support/topic/get_archives-offset-parameter/#post-34144)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
