Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #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!

    http://www.new.fwcflorence.com

    #32647

    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.

    #32648

    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!

    #32649

    Hi!

    Looking good!

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

    Regards,

    James

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

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