WordPress: Highlight search results – but keeping the same case as was originally on the page
For my WordPress Search results page, I have added highlighting to show where search term appears on the results page. But the replacement code changes the text of the page to the case that was used in the search term.…