Hello,
On my site, i’m currently using the blog layout. I’m on enfold 2.8.1 i believe, but have no plans of updating anytime soon.
The issue i’m having is the blog entry content tiles have no links to the pages, and instead have the “Read More” little link and picture linking to the respective page.
This is a big issue for mobile versions, as no images displays. Most users click the titles to access the page.
How do i append the respective URL link to the entry content on the blog?
Hi Tk909!
Thank you for using the theme.
You can edit includes > loop-index.php, find this code on line 186:
echo $content;
Replace it with:
if(!is_single()) {
echo '<a href="'.get_permalink().'" class="content-link">';
echo $content;
echo '</a>';
} else {
echo $content;
}
Use this on Quick CSS or custom.css to change the color of the content link:
a.content-link {
color: #333333;
}
a.content-link:hover {
color: #333333;
text-decoration: none;
}
Best regards,
Ismael
Hello Ismael,
Thank you for your assistance, the fix worked but i believe my developer input for this code was in a different place. We are using 2.7.1 version enfold, so that may be the problem.
Keep up the excellent work Team Kriesi!
Regards,
CS Team