Thumbnail links to post permalink
-
Hi,
I would like to link the thumbnail to the post link. Here is my site http://thisweekin.net/malibu/ and as you can see you can’t click on the thumbnail to go into the post.I have this code to show the thumbnail:
<?php the_post_thumbnail(array(300, 9999), array('class' => 'alignleft post_thumbnail', 'alt' => 'alttext', 'title' => 'titletext', 'align' => 'left', 'hspace'=>10)); ?>
I tried to add
<a href="<?php the_permalink() ?>">
before it and close the<a>
after but it doesn’ work.I appreciate any helps.
Thanks
- The topic ‘Thumbnail links to post permalink’ is closed to new replies.