Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #717

    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 $preview;

    to 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 PS – The theme is just awesome, everyone loves our new site!



    Looking good!

    Sorry about the blue boxes, just remove class=”more-link” to get rid of them :)



Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Mainpage Column Images Link to Pages or Posts’ is closed to new replies.