Closed ajaydsouza closed 2 years ago
The search results page doesn't always show the search term, especially if it is not in the first part of the excerpt. Cut the excerpt in such a way as to include the search term in the results page.
Refer: https://github.com/boyter/php-excerpt/blob/master/phpexcerpt.php
The search results page doesn't always show the search term, especially if it is not in the first part of the excerpt. Cut the excerpt in such a way as to include the search term in the results page.