Title: offset parameter not working
Last modified: August 22, 2016

---

# offset parameter not working

 *  [Ameet Agarwal](https://wordpress.org/support/users/ameetagarwal/)
 * (@ameetagarwal)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/offset-parameter-not-working/)
 * The “offset” parameter is not working.
    offset=0 and offset=1 displays the same
   post. see lower part of page which displays 3 posts, on following url: [http://www.sancoale.net/](http://www.sancoale.net/)
 * [https://wordpress.org/plugins/list-category-posts/](https://wordpress.org/plugins/list-category-posts/)

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

 *  [AACT](https://wordpress.org/support/users/aact/)
 * (@aact)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/offset-parameter-not-working/#post-5551532)
 * Hi Ameet, can you show the full [catlist …] call that you are using? Thanks.
 *  Thread Starter [Ameet Agarwal](https://wordpress.org/support/users/ameetagarwal/)
 * (@ameetagarwal)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/offset-parameter-not-working/#post-5551691)
 * Hi AACT,
    I am using the following code ` [catlist name=featured numberposts=
   1 excerpt=yes excerpt_size=24 excerpt_class=lcp_excerpt title_class=lcp_title
   posts_morelink_class=lcp_morelink offset=0 thumbnail=yes thumbnail_size=medium
   posts_morelink=”more »” template=”homelisting”]
 * [catlist name=featured numberposts=1 excerpt=yes excerpt_size=24 excerpt_class
   =lcp_excerpt title_class=lcp_title posts_morelink_class=lcp_morelink offset=1
   thumbnail=yes thumbnail_size=medium posts_morelink=”more »” template=”homelisting”]
 * [catlist name=featured numberposts=1 excerpt=yes excerpt_size=24 excerpt_class
   =lcp_excerpt title_class=lcp_title posts_morelink_class=lcp_morelink offset=2
   thumbnail=yes thumbnail_size=medium posts_morelink=”more »” template=”homelisting”]
   ‘
 *  [AACT](https://wordpress.org/support/users/aact/)
 * (@aact)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/offset-parameter-not-working/#post-5551731)
 * Hi, it seems to work for me.
 * I’m using LCP version 0.51. Is that the version you are using?
 * Could you try two really simple calls like:
    [catlist name=featured numberposts
   =1 offset=0] [catlist name=featured numberposts=1 offset=1]
 * in a test page and see what you get? [I can’t believe it’s your template that
   is the problem, but best to get rid of everything to see if the basics are working].
 * Also you could try
    [catlist name=features numberposts=3] just to make sure catlist
   can pick up the 3 most recently published posts (which I guess is what you are
   trying to show at the bottom of your page).
 *  [AACT](https://wordpress.org/support/users/aact/)
 * (@aact)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/offset-parameter-not-working/#post-5551732)
 * Hi, I’ve just put your page ([http://www.sancoale.net/](http://www.sancoale.net/))
   through W3C Validator and it has quite a few bugs. I don’t know that they can
   cause your problem, but it’s worth getting the code correct to eliminate that.
   For example, there are several instances of id=homelist.
 *  [AACT](https://wordpress.org/support/users/aact/)
 * (@aact)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/offset-parameter-not-working/#post-5551733)
 * Hi again, I’ve managed to get a similar problem to yours, though it happened 
   when I had pagination on the first catlist call.
 * The problem was solved by adding a instance=0 parameter to the first catlist 
   call, instance=1 to the second catlist call and so on. I don’t know if you are
   using catlist anywhere else on your page, but it may be worth adding the instance
   =n to each call to ensure they look different.
 *  Thread Starter [Ameet Agarwal](https://wordpress.org/support/users/ameetagarwal/)
 * (@ameetagarwal)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/offset-parameter-not-working/#post-5551750)
 * Thanks AACT.
    I was hoping using `instance=0` would work, but it did not. `[catlist
   name=features numberposts=3]` is working fine, only problem is the list is displayed
   vertically instead of horizontally. I tried using float=left on the li in the
   css but no success. Can you suggest something?
 * You can see it here:
    [http://www.sancoale.net](http://www.sancoale.net)
 *  Thread Starter [Ameet Agarwal](https://wordpress.org/support/users/ameetagarwal/)
 * (@ameetagarwal)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/offset-parameter-not-working/#post-5551751)
 * Thanks AACT for all your help.
    Finally nailed it with `[catlist name=features
   numberposts=3]` and CSS styles.

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

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

 * ![](https://ps.w.org/list-category-posts/assets/icon-256x256.png?rev=2517221)
 * [List category posts](https://wordpress.org/plugins/list-category-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/list-category-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/list-category-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/list-category-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/list-category-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/list-category-posts/reviews/)

## Tags

 * [list](https://wordpress.org/support/topic-tag/list/)
 * [offset](https://wordpress.org/support/topic-tag/offset/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)

 * 7 replies
 * 2 participants
 * Last reply from: [Ameet Agarwal](https://wordpress.org/support/users/ameetagarwal/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/offset-parameter-not-working/#post-5551751)
 * Status: not resolved