Gabriel Archangel - Neenah, WI

Homepage/Posts - Custom Excerpt prevents the Read More link from showing up

Assigned to
Kyle Sullivan, Web Development at Diocesan Kyle S.
Notes

Comments & Events

Kyle Sullivan, Web Development at Diocesan
Cody Armock, Web Content Specialist at Diocesan Cody , this is the default behavior. I presume they still want the Read More > link, correct?
Cody Armock, Web Content Specialist at Diocesan
Yes, they should get the read more link
Kyle Sullivan, Web Development at Diocesan
I applied the same fix I used on Lawrence on this site's homepage and its ALM Repeater Template.
<?php the_excerpt();
echo has_excerpt() || str_word_count(get_the_excerpt()) <= 30 ? "<a href=\"" . get_the_permalink() . "\" class=\"readMoreLink\" title=\"Read More\" rel=\"nofollow\">Read More&gt;</a>" : ''; ?>
Kyle Sullivan, Web Development at Diocesan
Kyle Sullivan completed this to-do.