An empty post
-
Hi and thank you for your plugin!
I am facing a strange problem and I’m not sure where the problem lies, maybe you could help me out.
I’m using your plugin to display the latest post on the site I’m working on. So I’m hoping to show just one post and the image(s) attached to it. I’m using shorthand code [ik_fb_feed num_posts=”1″] on the page and custom CSS to style the post, and this has worked perfectly for me so far.
Now, for some reason there was one post that didn’t appear on the page at all. There wasn’t an ul element rendered.
If I changed the num_posts value to 2 it displayed one post, which was the latest one. So it seemed as if there was one “empty” post as the latest one. Same thing happened if I changed the value to any higher number, it always displayed one post less.
The only thing I could think of was that the last post had two images attached to it (still, not a separate gallery or anything like that). Could this be the problem? Does the plugin support more than one image attached to a post?
When changing the value of num_posts and thus getting the latest FB post visible on the page, it only had one image. So at least it couldn’t render more than one image. This would not be a problem for me, anyway.
When viewing the Plugin Status & Help tab on WP’s admin panel, the latest post viewed was always the right one. So even if the post was not visible on the page, it was always visible correctly on the tab.
Thanks in advance!
- The topic ‘An empty post’ is closed to new replies.