updating default search for off canvas
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 9 Oct 2017 17:49:54 +0000 (13:49 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 9 Oct 2017 17:49:54 +0000 (13:49 -0400)
right off canvas is being set to the use the catalog as the default search
criteria

parts/header-meta.php
parts/search-form.php
style.css

index 7ae68c5..d2a9c92 100644 (file)
@@ -2,7 +2,7 @@
     <meta charset="utf-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title><?php wp_title(); ?></title>
-    <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css?v=1.0.10">
+    <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css?v=1.0.11">
     <link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri() ; ?>/favicon.ico">
     <link href="https://fonts.googleapis.com/css?family=Cormorant+Garamond:400,700" rel="stylesheet"> 
     <link href="https://fonts.googleapis.com/css?family=Oswald:400,700" rel="stylesheet">  
index 4c36b92..4218100 100644 (file)
@@ -1,8 +1,8 @@
-<form role="search" method="get" class="searchform" action="<?php echo home_url('/').'site-search/'; ?>">
+<form role="search" method="GET" class="searchform" action="https://charlevoix.bibliocommons.com/search">
     <input class="search-input" type="text" placeholder="Books, Movies, Music & More" value="" name="query">
     <input class="search-button button" type="submit" value="Search" name="submit">
     <div class="radio-area">
-        <input class="catalog-search" type="radio" name="queryType" value="catalog"> <label for="catalog">Catalog</label>
+        <input checked="checked" class="catalog-search" type="radio" name="queryType" value="catalog"> <label for="catalog">Catalog</label>
         <input class="main-search" type="radio" name="queryType" value="site"> <label for="site">Site</label>
         <input class="event-search" type="radio" name="queryType" value="events"> <label for="events">Events</label>
         <input name="search" type="hidden" value="1">
index 6ad7b9e..951c449 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: CharlevoixPublicLibrary
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for CharlevoixPublicLibrary
-Version: 1.0.10
+Version: 1.0.11
 */