setting up search form to use the glm search plugin
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 26 Jan 2017 14:24:05 +0000 (09:24 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 26 Jan 2017 14:24:05 +0000 (09:24 -0500)
parts/search.php
parts/top-bar.php

index c83a915..73041c6 100644 (file)
@@ -1,5 +1,5 @@
-<form role="search" method="get" class="searchform" action="<?php echo home_url('/'); ?>">
-     <input type="text" placeholder="SEARCH" value="" name="s" class="lar-search" />
+<form role="search" method="get" class="searchform" action="<?php echo home_url('/'); ?>site-search/">
+     <input type="text" placeholder="SEARCH" value="" name="query" class="lar-search" />
      <input class="search-button show-for-medium-up" value="." name="searchButton" type="image" />
      <input class="search-button show-for-small-down" value="Submit" name="searchButton" type="submit" />
 </form>
index f0a49db..b675bee 100644 (file)
@@ -7,5 +7,4 @@
     <section class="left-small">
         <a class="left-off-canvas-toggle menu-icon" href="#"><span>Menu</span></a>
     </section>
-</nav>
-
+</nav>
\ No newline at end of file