Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1218

    Hello Kriesi,

    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!

    kirstin

    #34455

    Replace following line in template_portfolio.php:

    echo '<a href="'.$portfolio_image.'" rel="lightbox[portfolio]"><img class="aligncenter" src="'.$portfolio_image_small.'" alt="" /></a>';

    with

    echo '<a href="'.get_permalink().'"><img class="aligncenter" src="'.$portfolio_image_small.'" alt="" /></a>';

    The image will link to your portfolio article afterwards…

    The Dude

    #34456

    That worked perfectly! Thank you so much for your support, you guys do a great job.

    kirstin

    #34457

    Glad that I could help you.

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Change portfolio thumbnail link’ is closed to new replies.