Hey @mbis.
Works perfectly. Thanks so much!
Could you mind telling me what causes that and how it fixes it, please?
Thanks again Mikko!!
Used the above suggested hook and it works like a charm.
Hey Mikko.
Thanks for taking a look!!
Your input turned out to be very helpful. Looks like the code I was using to block searches on templates was the culprit. Results pilled in after disabling it.
Thing is, I wanted a blanket method to stop “Thank you” pages from showing in search.
Does Relevanssi have an option for this? Maybe in the Pro version?
Or would mind you take a look at the code I’m using and offer a better suggestion?
https://pastebin.com/padqGYRb