I want to exclude specific pages OR all pages from wordpress on-site search. Basically I want them only accessible through having their exact URL. Alternatively, I want WP search to ONLY show pages.
Seems like it should be very simple. But over the last few hours I have tried every plugin claiming to do any of these things (they don't work with the latest wordpress version without exception). I have tested numerous methods that worked even up to a month ago. They don't now.