Title: offset does not work &#8211; posts missing
Last modified: August 24, 2016

---

# offset does not work – posts missing

 *  Resolved [Baskerville](https://wordpress.org/support/users/baskerville/)
 * (@baskerville)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/offset-does-not-work-posts-missing/)
 * So, i tried to simply make a pagination myself and created serveral sites, like:
 * [custom-facebook-feed locale=de_DE num=30 limit=30 offset=20]
    [custom-facebook-
   feed locale=de_DE num=40 limit=40 offset=30] [custom-facebook-feed locale=de_DE
   num=50 limit=50 offset=40]
 * Some sites (totally random) will show the 10 posts – some pages will show 1 to
   8, not 10. I did not make any mistakes. Why did this happen and how do I solve
   this? :/
 * Kind regards,
    Basker (again, sorry :D)
 * [https://wordpress.org/plugins/custom-facebook-feed/](https://wordpress.org/plugins/custom-facebook-feed/)

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

 *  Plugin Author [smashballoon](https://wordpress.org/support/users/smashballoon/)
 * (@smashballoon)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/offset-does-not-work-posts-missing/#post-6085194)
 * Hey Basker,
 * The reason that happens is that the limit setting determines how many posts are
   retrieved from Facebook’s API, however, Facebook often creates posts in their
   API for things which you wouldn’t want to display in your plugin, such as ‘Baskerville
   liked his own comment’ or ‘Smash Balloon commented on their own post’. As most
   users don’t want to display these kinds of posts in their feed then we filter
   them out in the plugin. This can mean that if you set the post limit at 40, then
   the plugin gets 40 posts from Facebook, but if 3 posts are filtered out then 
   you’ll be left with 37 posts. If you have the offset set to 30 then only 7 posts
   will be shown. There isn’t really an easy way around this unfortunately.
 * I hope you’re having a good weekend.
 * John
 *  Thread Starter [Baskerville](https://wordpress.org/support/users/baskerville/)
 * (@baskerville)
 * [11 years ago](https://wordpress.org/support/topic/offset-does-not-work-posts-missing/#post-6085254)
 * Sad to hear, but no problem. So I’ll have to find a workaround. Keep the good
   work up. Hope you had also a good weekend 🙂
 * Basker

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

The topic ‘offset does not work – posts missing’ is closed to new replies.

 * ![](https://ps.w.org/custom-facebook-feed/assets/icon-256x256.png?rev=2700775)
 * [Smash Balloon Social Post Feed - Simple Social Feeds for WordPress](https://wordpress.org/plugins/custom-facebook-feed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-facebook-feed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-facebook-feed/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-facebook-feed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-facebook-feed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-facebook-feed/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Baskerville](https://wordpress.org/support/users/baskerville/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/offset-does-not-work-posts-missing/#post-6085254)
 * Status: resolved