updating the search
authorIan Weller <ian@gaslightmedia.com>
Tue, 21 Feb 2017 20:40:29 +0000 (15:40 -0500)
committerIan Weller <ian@gaslightmedia.com>
Tue, 21 Feb 2017 20:40:29 +0000 (15:40 -0500)
I'm updating the search partial for the new plugin the others made.

parts/search.php

index 0f27490..a8b83f3 100644 (file)
@@ -1,6 +1,4 @@
-<form role="search" method="get" id="searchform" action="<?php echo home_url('/'); ?>">
-     <input class="search-input" type="text" placeholder="Search" value="" name="s" id="lar-search">
-     <input class="search-button" type="image" 
-        src="<?php bloginfo('template_url'); ?>/assets/search_button.png" 
-        value="submit" name="searchButton">
+<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