Search Form on Archives Page?
-
I didn’t want the searchform to be in the sidebar, so I moved it to be only on the archives page. But for some reason that I can’t seem to figure out or fix this breaks searching.
The site is https://www.reelfootbooks.com/free_shopper/
I figured I could just tweak out search.php and that would be it, but when you search it bypasses search.php and goes to the index page, furthermore it finds no search results. That last part I can’t wrap my head around. Why would moving the search form prevent it from finding search results?
I experimented and changed my theme to the default, and then searching worked fine.
I also read the codex entry on making a custom search page, but that didn’t work, even when I explicitly linked the searchform to the search page at https://www.reelfootbooks.com/free_shopper/search/
If anyone knows what might be wrong or how to fix it that would be great. Thanks much!
- The topic ‘Search Form on Archives Page?’ is closed to new replies.