Is it possible to do a wpv-conditional specific Checking If A Post Has A Featured Image Caption text in a Content template?
I would like to display the code below only if Caption exist
<figcaption class="single-caption-text">
<span class="fa fa-camera" aria-hidden="true"></span> [wpv-post-featured-image size='full' output='caption']
</figcaption>
The easiest approach here is to insert [wpv-post-featured-image size='full' output='caption'] and check what it outputs both for a post with and a post without Featured Image Caption.
Then, use the HTML Conditional to compare to that value.
Something like
[wpv-conditional if="( '[wpv-post-featured-image size='full' output='caption']' eq '' )"]
HAS NO CAPTION
[/wpv-conditional]
My issue is resolved now. Thank you!