No problem, glad you got it working.
I just realised that you don’t even need to use the append function at all. It’s simpler to directly overwrite the caption container’s content in a single line:
$('.captions').html('<p>'+image_caption+'</p>');
No problem, glad you got it working.
I just realised that you don’t even need to use the append function at all. It’s simpler to directly overwrite the caption container’s content in a single line:
$('.captions').html('<p>'+image_caption+'</p>');