Tagged: attachment page, Image Link
Hi, is it possible (script or something) to create an automatic link to the Attachment Page for all images in the Masonry Gallery? (to their own attachment page)
Thanks!
Hey Samuel,
It’s possible but it’s a lot of work. Instead of using Masonry Gallery which you need to set where the image links, try using Masonry (under Content Elements), you have the option it is automatically linked on a portfolio or a post.
Best regards,
Nikko
Hey Nikko,
Thanks for the response! I tried it with the Masonry, but I couldn’t use it as an image gallery.
After some attempts by change the PHP File, it works fine by now. I replaced the code “$custom_url” to $custom_url = get_permalink($id); (av-helper-masonry.php line 508)
Kind regards,
Hi Samuel,
Glad that it’s fixed. Just a reminder on editing files on theme, make a backup on it before doing a theme update as everything will be overwritten. Thanks for using Enfold :)
Best regards,
Nikko