feature image link Posted in : Read WP mindedmindParticipant 22 November 2013 at 22:51 #10251 Hello, I’d like to have my feature images link to the post that they feature. How can I do this? Thank you Mehmet S.Keymaster 23 November 2013 at 04:17 #10259 Hi, – go to appearance > editor > format-standard.php – find: the_post_thumbnail( 'blog_feat_img', array( 'alt' => get_the_title(), 'title' => "" ) ); – replace: '<a href="' . the_permalink() . '">' . the_post_thumbnail( 'blog_feat_img', array( 'alt' => get_the_title(), 'title' => "" ) ) . '</a>'; mindedmindParticipant 23 November 2013 at 04:22 #10260 Hey Mehmet, Thanks for the code. When i followed your instructions, the photo didn’t link to the post. What happened was the url for the post was embedded on the main page above the picture. The url didn’t link the post either. Mehmet S.Keymaster 23 November 2013 at 04:36 #10262 Try this one: echo '<a href="' . the_permalink() . '">'; the_post_thumbnail( 'blog_feat_img', array( 'alt' => get_the_title(), 'title' => "" ) ); echo '</a>'; Mehmet S.Keymaster 23 November 2013 at 04:37 #10263 Edited: echo '<a href="' . get_permalink() . '">'; the_post_thumbnail( 'blog_feat_img', array( 'alt' => get_the_title(), 'title' => "" ) ); echo '</a>'; mindedmindParticipant 23 November 2013 at 04:40 #10264 Beautiful. Nice work Mehmet. Thank you. Mehmet S.Keymaster 23 November 2013 at 04:47 #10266 You are welcome. Viewing 7 posts - 1 through 7 (of 7 total) You must be logged in and have valid license to reply to this topic. License required for the following item Read WP - Minimalist WordPress Blog Themeby pixelwars Login and Registration Log in · Register