Hi,
When use Portfolio Gird to show my products, there is a good function that can Display Excerpt and Title below the preview image, i only want to show the Excerpt, don’t show the Title, so i choose “only excerpt”, but there is no link in the excerpt, means in the portfolio gird page, when click the excerpt, there is no link to each portfolio. But if show Title, it have links. So, my question is can i add the link to the excerpt just like the title.
Besides, does the excerpt have any influence to SEO?
Best regards,
Tommy
Hi Tommy!
Open /config-templatebuilder/avia-shortcodes/portfolio.php: and look for this line:
$output .= "<div class='grid-entry-excerpt entry-content' $markup>".$excerpt."</div>";
Change it to:
$output .= "<div class='grid-entry-excerpt entry-content' $markup><a href='".get_the_permalink()."''>".$excerpt."</a></div>";
Regards,
Josue