Display lightbox image URL ?
-
I’m trying to add like a Pinterest ‘Pin it’ button to my lightbox images
In order to make this work it needs to get the image URL, but the like box doesn’t display the image URL
The JS code:
image: '<img class="esgbox-image" src="{href}" alt="" />'
How can I get it to display: https://www.website.com/image.jpg
WP codes like:
get_post_thumbnail_id()
only work if the URL is displayed in the browser window
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Display lightbox image URL ?’ is closed to new replies.