If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I’d like to link the featured image of a post on the portfolio page to the post. By default the image is not linked to the post. I understand that I can manually apply the image link with “Link to page” on the portfolio post page. But this will also turn on the lightbox feature, what I’d not like to use.
So basically my question is: What do I need to change in the code that all featured images are automatically linked to the post and the lightbox feature stays disabled.
This is what I want to know too. Please anyone can tell us the solution.
I figured out the solution:
In includes/loop-portfolio-php replace:
echo "<a href='".get_permalink()."' rel='bookmark' title='".__('Permanent Link:','avia_framework')." ".get_the_title()."'>";
The topic ‘Portfolio -> Link featured Image’ is closed to new replies.