Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #222666


    When you create a post with a featured picture if you click that picture in the blog it will take you the post.
    When you’re inside the post itself if you click the image with would display it in real size (like in a gallery). I would like to maintain picture inside post but remove the clicking option / link. So the picture is displayed but you can’t click on it.


    • This topic was modified 3 years, 9 months ago by  gmarco.

    Hi gmarco!

    Please edit includes > loop-index.php, find this code on line 81:

    if($slider) $slider = '<a href="'.$link.'" title="'.$featured_img_desc.'">'.$slider.'</a>';

    Replace it with:

    if (!is_single()) {
                $slider = '<a href="'.$link.'" title="'.$featured_img_desc.'">'.$slider.'</a>';
    			} else {
    			$slider = $slider;	

    Best regards,


    Thanks :)

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

The topic ‘Remove featured image link inside post.’ is closed to new replies.