Answer the question
In order to leave comments, you need to log in
Why does an error appear when searching in the default WordPress search template?
I took the search.php, content-search.php, content-none.php files from the base WordPress theme (for example, from twentyfifteen) and copied them into my theme in the hope that everything would work. But in the end, it constantly displays content-none.php for me, because it doesn’t seem to find anything. But if you do not drive anything into the search and click "search", then it gives me the following error:
I just copied these files, did not change anything.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question