Display specific images with captions

Posted 5 days ago by rohan_mhz

I want to display only those images in the carousel which have captions and not those which have no captions.

I was thinking of using if function and check if the incoming image has the caption or not, but I don't know how to do it. is there any other way of doing it?

plz, help me cuz I am new to this.

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.