The image gallery below is generated using WordPress 4.9.x (the same output will be generated if you’re using Classic Editor in WordPress 5.x). By default, a gallery will be displayed like a table, with empty spaces here and there. We too, didn’t like it. So we build a new one.
Even if the captions are uneven
Probably just a normal caption
A normal caption too
What is this?
Yepp
Let’s try putting a little bit longer caption here.
Let’s put a super duper long caption here. Dummy text started. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.