I don’t have enough knowledge about PHP to handle this situation. What I want is to remove the link from featured image. Here is the code from my functions.php file.
if ( has_post_thumbnail() ) {
return "<div class='post-thumbnail'><a href='" . $featured_image_link . "'>" . $featured_image . "</a></div>";
}
Could you please tell me which part should I erase to get the desired result??
Like this 🙂