In the portfolio is it possible to change the link that the thumbnail images go to when clicked on? Ideally I would like the image to link to the same place the colored title bar that hovers over the image goes to – the permalink to the blog page. I do not want the thumbnail images to open in the pretty window anymore.
Can you please advise how this can be done?
Any help you can give would be greatly appreciated. Thanks again for the support!
Replace following line in template_portfolio.php:
echo '<a href="'.$portfolio_image.'" rel="lightbox[portfolio]"><img class="aligncenter" src="'.$portfolio_image_small.'" alt="" /></a>';
echo '<a href="'.get_permalink().'"><img class="aligncenter" src="'.$portfolio_image_small.'" alt="" /></a>';
The image will link to your portfolio article afterwards…
That worked perfectly! Thank you so much for your support, you guys do a great job.
The topic ‘Change portfolio thumbnail link’ is closed to new replies.