Hi!
I'd like to have the featured image linked to the big image (which then I will open in a popup.
What' the function to be called
Now:
<figure class="featured-image">
<?php the_post_thumbnail(); ?>
<?php if(is_single()) : ?>
<?php echo gk_post_thumbnail_caption(); ?>
<?php endif; ?>
</figure>
Later:
<figure class="featured-image">
<a href="path of the featured image" class="socialGallery">
<?php the_post_thumbnail(); ?>
</a>
<?php if(is_single()) : ?>
<?php echo gk_post_thumbnail_caption(); ?>
<?php endif; ?>
</figure>
So, how can I write the path of the featured image?
Thanks