We have a client that is using a wysiwyg editor to add multiple photos and different bits to a custom post type.
They are including a caption using the Wordpress Image caption functionality.
How would we be able to (efficiently) use Fancybox's title
option to do this?
Here is the structure:
<div id="attachment_180" class="wp-caption">
<a href="image.jpg" rel="performance">
<img class="size-full" src="someimagethumb.jpg">
</a>
<p class="wp-caption-text">The Image Caption</p>
</div>