adding form method GET to the header search form
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 3 May 2017 17:29:27 +0000 (13:29 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 3 May 2017 17:29:27 +0000 (13:29 -0400)
the search form in the header was missing the method attribute, trying to test out the search
functions

sections/header.php

index b02f8dc..23bccee 100644 (file)
@@ -13,7 +13,7 @@
                 --><li><a href="#" class="contact"></a></li><!--
                 --><li class="search-icon"><a href="#" class="search"></a></li><!--
             --></ul>
-            <form class="header-search-form" action="<?php echo home_url('/').'site-search/'; ?>">
+            <form role="search" method="get" class="header-search-form" action="<?php echo home_url('/').'site-search/'; ?>">
                 <input  class="search-text" type="text" name="query">
 <!--                <input class="button search-button header-search-button" type="submit" value="Search" name="submit">-->
             </form>