This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: No results on search page

#29869
Ernest MarcinkoErnest Marcinko
Keymaster

Hi,

I am seeing something strange on the results page, when the PDF results are shown. Whenever I search for “222”, the results page acutally displays as if there was one result, but there is nothing in the results loop. That means, the plugin actually sends that one result to the results page, but maybe there is some sort of a conditional check or something – and then it prints nothing.
The keyword “cert” works, as there is one other item on the bottom of the results list, which is not an attachment – so I’m guessing that programmatic check does not trigger, and prints the results.

If you made any changes to the search.php file or template part – check if there is any conditional check for maybe the results count by post type or something similar (like image check, excerpt check, content check or anything), that may stop the results from printing.