Added opensearch functionality to header search
authorLaury GvR <laury@gaslightmedia.com>
Tue, 19 Jul 2016 14:51:27 +0000 (10:51 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 19 Jul 2016 14:51:27 +0000 (10:51 -0400)
Search.php changed to send its form to site-search, and to have
as input a name of 'query' rather than 's'.

parts/search.php

index ad9d780..e946743 100644 (file)
@@ -1,5 +1,4 @@
-
-   <form role="search" method="get" id="topSearchForm" action="<?php echo home_url('/'); ?>">
-    <input class="search-input" type="text" placeholder="Search" value="" name="s" id="lar-search">
+<form role="search" method="get" id="topSearchForm" action="<?php echo home_url('/'); ?>site-search/">
+    <input class="search-input" type="text" placeholder="Search" value="" name="query" id="lar-search">
     <input type="submit" class="button" name="submit" value="Search">
 </form>