Tronar is not displaying the no results content on search

[ad_1]

As stated in the title, Tronar currently doesn’t display the ‘No Results Content’ should a search term return without results. Just returns you to a blank (templated) search results page, without displaying the ‘Sorry, but nothing found….’ string.

I’m fairly new to guttenberg and the site editor. And I guess the new node.js style of development for wordpress themes and blocks.

I did try adding a basic php echo to no-results-content.php and search.php in the patterns folder to see if they loaded at all. They didn’t seem to be loading.

I can’t find a template part or pattern for ‘No Results Content’. I do however have a ‘Search Results’ template which I have styled and edited. The Query Loop inherits the query from the template, gives no options for a no results page.

The body tag is returning a no results page, i.e.:

body class=”search search-no-results wp-embed-responsive locale-en-us”

vs

body class=”search search-results wp-embed-responsive locale-en-us”

The site is running on an internal development server so isn’t publicly available.

I’m sure this will be a simple solve, I’m just not that experienced with wordpress anymore, it’s been 10 years since I last had any form of development on it.

Thanks for your time, and such a great theme.

  • This topic was modified 16 hours, 23 minutes ago by nohell.

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer