$query = new WP_Query(array('cat' => 3, 'posts_per_page' => 20, 'meta_key' => '_thumbnail_id'));
Above you will find the code I used on a custom template page to output the thumbnails to specific posts. That’s first thing! It works like a charm. Now, I need to add the hyperlink on the image so that when the featured image is clicked, it will take my user back to the actual post. How do I do this?