You can see live example here.
When I add a caption into the image, it doesn’t show at all!
I’ve added the caption to the image as you can see in the next picture
but it doesn’t show as you see below
But when I click edit the picture icon as you see below
and fill in the caption field
the caption works!
Why it’s not working in the first case? I’ve disabled all plugins and no luck! I’ve tried the twenty fourteen theme, and no problem there, so the problem is in my theme only.
Can you please help!
I solved it, the problem was a function I used to use and forgot about!
I removed this function and everything is OK now.