Lawrence - Tampa, FL

Posts - Custom Excerpt removes the read more link

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

Comments & Events

Kyle Sullivan, Web Development at Diocesan
I'll fix this, but Cody Armock, Web Content Specialist at Diocesan Cody , this is the default behavior of a custom excerpt.
Kyle Sullivan, Web Development at Diocesan
I also added a "READ MORE>" link if the excerpt is too short.
<?= 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.
Kyle Sullivan, Web Development at Diocesan
I also set a height for the thumbnails and set object-fit: cover.