Does anyone know how to make the homepage images that are displayed become links? I know that the text and “Read More” buttons link to the post or page. However, I would like for the images to link as well. Thanks!
Open up /framework/classes/kclass_display_box.php and on line 120, change this:
echo '<a href="'.get_permalink().'" class="more-link">'.$preview.'</a>';
to add the Permalink to the image.
Great! Thanks James. I got the links to work, but it’s placed a blue box behind the image. I’m assuming it has something to do with the class=”more-link” and CSS, but I figured that I would ask you first.
I would like to get remove the blue box altogether, or at least make it the same size as the image outline. Any suggestions?
We launched the new site, so the domain is now http://fwcflorence.com. PS – The theme is just awesome, everyone loves our new site!
The topic ‘Mainpage Column Images Link to Pages or Posts’ is closed to new replies.