adding ignore class
authorIan Weller <ian@gaslightmedia.com>
Fri, 10 Feb 2017 17:27:05 +0000 (12:27 -0500)
committerIan Weller <ian@gaslightmedia.com>
Fri, 10 Feb 2017 17:27:05 +0000 (12:27 -0500)
I added a ignore class to the areas the search shouldn't bother.

footer.php
parts/off-canvas-menu.php
parts/top-bar.php

index e8fa09b..29dc6a6 100644 (file)
@@ -1,4 +1,4 @@
-                        <footer class="main">
+                        <footer class="main opensearchserver.ignore">
                             <?php if (is_active_sidebar('sidebar-f')) :?>
                                 <?php dynamic_sidebar('sidebar-f');?>
                             <?php endif;?>
index 8602e2b..d137665 100644 (file)
@@ -1,4 +1,4 @@
-<aside class="left-off-canvas-menu hide-for-large-up">
+<aside class="left-off-canvas-menu hide-for-large-up opensearchserver.ignore">
     <?php glm_theme_mobile_off_canvas(); ?>
     <?php get_template_part('parts/client-info-offcanvas');?>
     <ul class="offcavas-social-list">
@@ -10,7 +10,7 @@
         <li><a target="_blank" class="google" href="https://plus.google.com/+BigPowderhornLodgingAssociationBessemer/posts/ "></a></li>
     </ul>
 </aside>
-<aside class="right-off-canvas-menu">
+<aside class="right-off-canvas-menu opensearchserver.ignore">
     <div class="row">
         <div class="small-11 small-centered columns text-center">
             <span>BOOK NOW</span>
index 8c0f2ef..82f7f62 100644 (file)
@@ -1,4 +1,4 @@
-<nav class="top-bar text-center show-for-large-up" data-topbar role="navigation">
+<nav class="top-bar text-center show-for-large-up opensearchserver.ignore" data-topbar role="navigation">
     <section class="top-bar-section">
         <?php feature_top_bar(); ?>
     </section>