Include form tags
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 31 Mar 2015 18:14:20 +0000 (14:14 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 31 Mar 2015 18:14:20 +0000 (14:14 -0400)
Need form tags and proper attributes for the form to work as search.

parts/off-canvas-menu.php

index 40f1f81..22158aa 100644 (file)
@@ -2,7 +2,9 @@
     <?php glm_offcanvas_menu(); ?>
     <div class="row">
         <div class="small-12 columns">
-            <input type="search" placeholder="Search">
+            <form method="get" action="<?php echo home_url('/'); ?>">
+                <input type="search" placeholder="Search" value="" name="s">
+            </form>
         </div>
     </div>
     <ul class="vcard mobile-vcard">