we created a page that holds a view of a series of post contents but from time to time it creates some "empty"
items without any reason.
you can see the page at the following url:
hidden link
if you see some images are not aligned because there are some empty
items that create spage
This should be because there is nothing to display for that item in the list
I assume you have a ShortCode in that list, and that ShortCode displays the contents of a field, but that field is not filled out for each and ever post in the loop.
You can use HTML conditionals to resolve this:
https://toolset.com/documentation/user-guides/conditional-html-output-in-views/
You will be wrapping the entire
into a HTML condition to check if the [shortcode] is empty or not, and only show it if it's not empty.
Another approach can be to orderby that precise field the View, which will automatically exclude all the posts that have no such field.
But usually the HTML conditional solution is neater.
Please let me know if you need more details about this.