Hello the team,
In the Ajax Portfolio , I’d like to know if it’s possible to change the link of the preview image. I’d like to link the image to the item post instead of the image in the lightbox.
I tried to change
$output .= " <a href='".$img[0]."' class='portolio-preview-list-image' title='".$description."' ><img src='".$img[0]."' title='".$title."' alt='".$alt."' /></a>";
to
$output .= " <a href='".{$link}."' title='".$description."'><img src='".$img[0]."' alt='".$alt."' /></a>";
but the link is this of the current page instead of of this of the item page.
Pleae help.
Best regards.
Hello Josue,
Thank you for your help !
Best regards
You are welcome, glad to help :)
Regards,
Josue