2 Mar 02, 2019 13:09
Ok I found the elusive badger, hiding underground in it's den.
Intrepidly I copied the four pages of the post to Notepad++ and did a search. It was hiding in the alt property of the img tag. There it was alt="badger gnawings".
So the search is pretty effective in finding but not explaining where it is located. So a mis-type in a tag property can bring up a post that appears to have no relevance??
I was/am working on a script that rather than show an extract of the post wherein lies the searched for item, will show the item or items. I thought how difficult can it be? Once the search function finds the post, search the result [post(string)] for the item, use the strpos to note the item and then echo two spaces and words before and then some after. Hmm! any input on this idea??
PS my search now shows only two badger related posts, both now at 100% again.