The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Adding permalink to thumbnail Reply To: Adding permalink to thumbnail

[email protected]

This is all you need to do:
Within the loop you can just use this code <?php echo get_permalink(); ?>

This code gets the link for the current post.

And you can use that code to link thumbnails to the post like this:
&lt;a href="&lt;?php echo get_permalink(); ?&gt;"&gt;&lt;img src="img/pic.jpg" alt="image" /&gt;&lt;/a&gt;

I hope you get the idea.