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

  • one
    if you disable the plugin for search, the result does not change? - alenkins
  • disabled, but now when I try to find something, the main page template is displayed and nothing is searched for, and if I also write a non-existent request, I noticed that the data disappears in those places where I indicated to display the posts that I need, here they are all empty , there are only divas, but everything else is missing. - Webear
  • the main template is displayed when accessing a page like http://адрес_сайта/?s=фраза_для_поиска ? - alenkins
  • Yes, it is. - Webear

0