updating the search
authorIan Weller <ian@gaslightmedia.com>
Tue, 21 Feb 2017 21:13:51 +0000 (16:13 -0500)
committerIan Weller <ian@gaslightmedia.com>
Tue, 21 Feb 2017 21:13:51 +0000 (16:13 -0500)
I updated the search for a new plugin the others made.

parts/search.php

index 98b1f38..602be4e 100644 (file)
@@ -1,4 +1,4 @@
-<form role="search" method="get" 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" type="image" alt="Search" src="<?php bloginfo('template_url'); ?>/assets/search.png" name="searchButton">
 </form>
\ No newline at end of file