WordPress.org

Support

Support » Themes and Templates » Search page shows nothing if results are not accurate

Search page shows nothing if results are not accurate

Viewing 2 replies - 1 through 2 (of 2 total)
  • The search page works like this:

    the key word you search for is taken and ran through your site. if matches come up, they are show. If not, you are still taken to the search page, because the search button has a action method.

    So you could write a function into the search page that says, if nothing is found, return some sort of html or php code.

    What function will be great to add KrashKartMedia? Sorry, but I’m not good at php 🙁

    thanks for your reply BTW 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Search page shows nothing if results are not accurate’ is closed to new replies.