I added the correct search code
authorIan Weller <ian@gaslightmedia.com>
Tue, 21 Feb 2017 20:10:02 +0000 (15:10 -0500)
committerIan Weller <ian@gaslightmedia.com>
Tue, 21 Feb 2017 20:10:02 +0000 (15:10 -0500)
I found out I put in a bad version of the search code in the partial.
After learning this and finding the correct code, I placed the correct
code in place of the bad code.

root/parts/search-form.php

index 87459f1..a8b83f3 100644 (file)
@@ -1,4 +1,4 @@
-<form role="search" method="get" class="searchform" action="<?php echo home_url('/'); ?>">
-     <input class="search-input" type="text" placeholder="Search" value="" name="s">
+<form role="search" method="get" class="searchform" action="<?php echo home_url('/').'site-search/'; ?>">
+     <input class="search-input" type="text" placeholder="Search" value="" name="query">
      <input class="search-button button" type="submit" value="Search" name="submit">
 </form>
\ No newline at end of file