1
2
3
4
5
6
7
8
9
10
11
<?phph
// open template_portfolio.php and search for

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

change this line to

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


?>