Hello! This question, I think for those who understand it, it will immediately become clear that I went the wrong way and started writing the topic from scratch and, of course, screwed up somewhere, I just can’t understand where))) (apparently not completely beautiful)))), tied up with the Relevanssi search plugin, and everything seems to be fine, but the fact is that if nothing is found by the result, then the message that nothing is found is displayed, but half of the header disappears and footer. Can anyone have a thought where am I a fool? Code uploaded here: pastebin.com/bfiyLJfF
http://адрес_сайта/?s=фраза_для_поиска? - alenkins