Title: query_posts offset
Last modified: August 18, 2016

---

# query_posts offset

 *  [salparadi](https://wordpress.org/support/users/salparadi/)
 * (@salparadi)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/query_posts-offset/)
 * is it not possible to state an offset for query_posts?
 * i want to have my first post be styled one way, the second another, and the rest
   a third way.
 * offset was a feature of get_posts, do i need to still use get_posts in order 
   to do this? any ideas?

Viewing 4 replies - 16 through 19 (of 19 total)

[←](https://wordpress.org/support/topic/query_posts-offset/?output_format=md) [1](https://wordpress.org/support/topic/query_posts-offset/?output_format=md)
2

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/query_posts-offset/page/2/#post-173006)
 * You should use both the Loop1 and Loop2 code posted by Kaf [above](http://wordpress.org/support/topic/28203?replies=16#post-193687).
   
   It works for me!
 * Actually, I put up the whole working code to [http://wordpress.pastebin.ca/269401](http://wordpress.pastebin.ca/269401)
   
   Hope this helps!
 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/query_posts-offset/page/2/#post-173007)
 * Also note that ‘offset’ now works with query_posts(). It was added a few versions
   of WordPress back.
 *  [hasund](https://wordpress.org/support/users/hasund/)
 * (@hasund)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/query_posts-offset/page/2/#post-173008)
 * I copied more of the code and it works fine.
 *  [Nathan Reynolds](https://wordpress.org/support/users/303nate/)
 * (@303nate)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/query_posts-offset/page/2/#post-173009)
 * That did the trick. Thanks again moshu!

Viewing 4 replies - 16 through 19 (of 19 total)

[←](https://wordpress.org/support/topic/query_posts-offset/?output_format=md) [1](https://wordpress.org/support/topic/query_posts-offset/?output_format=md)
2

The topic ‘query_posts offset’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 19 replies
 * 13 participants
 * Last reply from: [Nathan Reynolds](https://wordpress.org/support/users/303nate/)
 * Last activity: [19 years, 5 months ago](https://wordpress.org/support/topic/query_posts-offset/page/2/#post-173009)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
