Welcome to WebmasterWorld Guest from 100.25.214.89

Forum Moderators: rogerd & travelin cat

Message Too Old, No Replies

How can I Automatically Link Featured Images to Posts in WordPress

     
7:18 am on Sep 14, 2018 (gmt 0)

New User

5+ Year Member

joined:Mar 3, 2014
posts: 9
votes: 0


I am using a free theme called Enamored free wordpress theme. On category page it shows big thumbnails of featured images. I want to link those thumbnail to the posts so if anyone clicks on the image they reach the post. For now only title is linked to the post and nothing happens if one clicks on the thumbnail.
12:06 pm on Sept 14, 2018 (gmt 0)

Preferred Member from CA 

Top Contributors Of The Month

joined:Feb 7, 2017
posts:549
votes: 53


I have not used the Enamored theme, but have used other themes with a featured image. When you edit each post, on the bottom right, there should be a featured image section, where you can upload an image. This image will be the featured image that will be displayed for the post. This image is usually smaller than a normal image, so you may need to play around with the size, otherwise the image you use will be cropped. The theme may have come with a couple test images.

I have used the free theme Evolve, which also has featured images on their multi-column layout. Enamored's "2 Grid" layout looks pretty similar.

If my advice is not helpful please reply with more details.
5:29 pm on Sept 14, 2018 (gmt 0)

Moderator from US 

WebmasterWorld Administrator martinibuster is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 13, 2002
posts:14902
votes: 484


You need to create a child theme then create the code there so that the featured image has a link to the article. You can look at the text link code (click here, read more) and just replicate the code from there but around the code for the featured image.
1:25 pm on Oct 17, 2018 (gmt 0)

New User

joined:Oct 15, 2018
posts:1
votes: 0


Have you installed "Easy Add Thumbnail"?, I think this plugin will help you create feature images of all posts; future or past posts.
5:02 am on Oct 19, 2018 (gmt 0)

Senior Member from ES 

WebmasterWorld Senior Member 10+ Year Member

joined:Nov 13, 2005
posts:694
votes: 12


I use "Require Featured Image". With this plugin you can't forget the featured image because it deactivates the "Publish" button until a featured image is selected.
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members