Adding output for the locations plugin
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 19 Nov 2014 21:48:08 +0000 (16:48 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 19 Nov 2014 21:48:08 +0000 (16:48 -0500)
css/styles.css
footer.php
functions.php
index.php
page.php

index b00e6d8..7222d46 100644 (file)
@@ -259,6 +259,18 @@ span:active {
     font-family: Times , sans-serif;
     font-size: 11px !important;
 }
+.hours {
+    font-family: Times , sans-serif;
+    font-size: 11px !important;
+    margin-top: 1.25rem;
+}
+.hours > b {
+    display: block;
+    font-weight: bold;
+    font-size: 12px !important;
+    font-family: Arial, sans-serif;
+    margin-top: 1.25rem;
+}
 footer {
     float: none;
     text-align: center;
index 927f83e..3ffacbf 100644 (file)
@@ -4,54 +4,9 @@
     </div>
     </div>
     <div class="row">
-        <div class="small-12 medium-3 columns">
-            <div class="center">
-            <h3>Petoskey</h3>
-            <p>900 Spring Street</p>
-            <p>Petoskey, MI 49770</p>
-            <p>231-347-2501 &sdot; 800-968-2501</p>
-            <p class="day">Monday - Friday:</p>
-            <p class="time">7:00 am - 5:00 pm</p>
-            <p class="day">Saturday:</p>
-            <p class="time">8:00 am - Noon, & by Appointment</p>
-            <p class="day">Closed Sun</p>
-            </div>
-        </div>
-        <div class="small-12 medium-3 columns">
-            <div class="center">
-            <h3>Harbor Springs</h3>
-            <p>8600 Moeller Drive</p>
-            <p>Harbor Springs, MI 49740</p>
-            <p>231-348-2990 &sdot; 800-968-2990</p>
-            <p class="day">Monday - Friday:</p>
-            <p class="time">7:00 am - 5:00 pm</p>
-            <p class="day">Saturday:</p>
-            <p class="time">8:00am - Noon, & by Appointment</p>
-            <p class="day">Closed Sun</p>
-            </div>
-        </div>
-        <div class="small-12 medium-3 columns">
-            <div class="center">
-            <h3>Gaylord</h3>
-            <p>3689 Old 27 South</p>
-            <p>Gaylord, MI 49735</p>
-            <p>989-732-8862 &sdot; 888-732-8862</p>
-            <p class="day">Monday - Friday:</p>
-            <p class="time">7:00 am - 5:00pm, & by Appointment</p>
-            <p class="day">Closed Sat & Sun</p>
-            </div>
-        </div>
-        <div class="small-12 medium-3 columns">
-            <div class="center">
-            <h3>Traverse City</h3>
-            <p>777 US 31 South</p>
-            <p>Traverse City, MI 49685</p>
-            <p>231-943-1180</p>
-            <p class="day">Monday - Friday:</p>
-            <p class="time">7:00 am - 5:00pm, & by Appointment</p>
-            <p class="day">Closed Sat & Sun</p>
-            </div>
-        </div>
+        <?php if (is_active_sidebar('sidebar-f')) :?>
+            <?php dynamic_sidebar('sidebar-f');?>
+        <?php endif;?>
     </div>
     <div class="row">
         <div class="small-11 columns" id="divide_bottom">
             $(this).toggleClass('open');
             $(this).siblings('ul').toggleClass('open');
         });
-//        $('.off-canvas-list').find('a.toggle').click(function(){
-//            console.log('clicked me!');
-//            $(this).toggleClass('open');
-//            $(this).siblings('ul').toggleClass('open');
-//        });
     });
     </script>
     <?php wp_footer();?>
index 91a9254..2800b02 100755 (executable)
@@ -90,4 +90,17 @@ function glm_google_map($w = '500px', $h = '200px')
     return sprintf($format, $w, $h);
 }
 add_action('wp_enqueue_scripts', 'preston_feather_scripts');
+add_action('widgets_init', 'preston_widget_init');
+if (!function_exists('preston_widget_init')) {
+
+    function preston_widget_init()
+    {
+        register_sidebar(array(
+            'name'        => __('Footer'),
+            'id'          => 'sidebar-f',
+            'description' => __('Appears in Footer Area')
+        ));
+    }
+
+}
 ?>
\ No newline at end of file
index 5a685d0..6b1f99a 100644 (file)
--- a/index.php
+++ b/index.php
     </div>
 <div class="row content">
     <div class="small-11 small-centered columns">
-    <div class="row">
-    <div class="small-12 columns">
-        <ul class="breadcrumbs">
+        <div class="row">
+            <div class="small-12 columns">
+                <ul class="breadcrumbs">
 
-        </ul>
-    </div>
-    </div>
+                </ul>
+            </div>
+        </div>
     <div class=" row">
-    <div class="small-12 columns">
-        <?php if(have_posts()) : while(have_posts()): the_post();?>
-        <h1><?php the_title();?></h1>
-        <?php the_content();?>
-        <?php endwhile; else:?>
-        <p><?php _e('Sorry, no posts yet');?></p>
-        <?php endif;?>
-    </div>
+        <div class="small-12 columns">
+            <?php if(have_posts()) : while(have_posts()): the_post();?>
+            <h1><?php the_title();?></h1>
+            <?php the_content();?>
+            <?php endwhile; else:?>
+            <p><?php _e('Sorry, no posts yet');?></p>
+            <?php endif;?>
+        </div>
     </div>
 <?php get_footer(); ?>
\ No newline at end of file
index 8fc7afa..b9befb9 100644 (file)
--- a/page.php
+++ b/page.php
     </div>
 <div class="row content">
     <div class="small-11 small-centered columns">
-    <div class="row">
-    <div class="small-12 columns">
-        <?php
-        if(function_exists('bcn_display') && !is_front_page()) {
-            echo "<div class=\"breadcrumbs\">";
-            bcn_display();
-            echo "</div>";
-        }
-        ?>
-    </div>
-    </div>
+        <div class="row">
+            <div class="small-12 columns">
+                <?php
+                if(function_exists('bcn_display') && !is_front_page()) {
+                    echo "<div class=\"breadcrumbs\">";
+                    bcn_display();
+                    echo "</div>";
+                }
+                ?>
+            </div>
+        </div>
     <div class=" row">
-    <div class="small-12 columns">
-        <?php if(have_posts()) : while(have_posts()): the_post();?>
-        <h1><?php the_title();?></h1>
-        <?php the_content();?>
-        <?php endwhile; else:?>
-        <p><?php _e('Sorry, no posts yet');?></p>
-        <?php endif;?>
-    </div>
+        <div class="small-12 columns">
+            <?php if(have_posts()) : while(have_posts()): the_post();?>
+            <h1><?php the_title();?></h1>
+            <?php the_content();?>
+            <?php endwhile; else:?>
+            <p><?php _e('Sorry, no posts yet');?></p>
+            <?php endif;?>
+        </div>
     </div>
 <?php get_footer(); ?>
\ No newline at end of file