Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #245794

    By default, the search results simply cut off after a few dozen words with a […]

    Is there any way to change the […] to a link that read [Read More…]?

    #245857

    Hey spmcfarland!

    Thank you for using the support forum!

    Please edit includes > loop-search.php, find this code on line 91:

    the_excerpt();
    

    Below, add this code:

    echo '<div class="read-more-link"><a href="'.get_permalink().'" class="more-link">'.__('Read more','avia_framework').'<span class="more-link-arrow">  &rarr;</span></a></div>';
    

    This should append the read more link below the excerpt or summary.

    Best regards,
    Ismael

    #246162

    That works perfectly! Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Add a 'Read More…' link to the end of search results’ is closed to new replies.