slowly working on structure breakout
authorIan Weller <ian@gaslightmedia.com>
Thu, 8 Sep 2016 15:23:48 +0000 (11:23 -0400)
committerIan Weller <ian@gaslightmedia.com>
Thu, 8 Sep 2016 15:23:48 +0000 (11:23 -0400)
I am working on getting the structure in place at the moment before
getting all the styling in.  I'll add the styling after the breakout
meeting.

index.php
lib/navigation.php
parts/header-meta.php
sections/front-page.php
sections/header.php

index fa877a9..eca4e39 100644 (file)
--- a/index.php
+++ b/index.php
@@ -8,8 +8,6 @@
                 <div class="off-canvas-content" data-off-canvas-content>
                     <?php
                     include "sections/header.php"; 
-                    include "sections/off-canvas.php"; 
-                    include "sections/top-bar.php"; 
                     if (is_front_page()) { 
                         include "sections/front-page.php"; 
                     } 
index f78f527..a338e6b 100644 (file)
@@ -1,7 +1,8 @@
 <?php
 
 register_nav_menus(array(
-  'top-bar' => 'Site Navigation'
+    'top-bar' => 'Site Navigation',
+    'footer' => 'Footer Navigation'
 ));
 
 /**
index cc72778..5a91ec3 100644 (file)
@@ -2,7 +2,8 @@
     <meta charset="utf-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title><?php wp_title(); ?></title>
-    <link href="https://fonts.googleapis.com/css?family=Lato:400,700|Roboto:400,700" rel="stylesheet">
+    <link href="https://fonts.googleapis.com/css?family=Lato:400,700" rel="stylesheet">
+    <link href="https://fonts.googleapis.com/css?family=Roboto+Slab:400,700" rel="stylesheet">
     <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css">
     <?php wp_head(); ?>
 </head>
\ No newline at end of file
index e0e927c..6c7d6e7 100644 (file)
 <main class="page-front">
-    <div class="slide-bar-row">
-        <div id="slide">
-            <?php get_template_part('parts/slide-show');?>
-        </div>
-        <div id="bar" class="small-centered large-uncentered">
-            <div class="accordion">
-                <section id="training" class="accordion-item">
-                    <a href="#">Training</a>
-                    <div class="accordion-item-content">
-                        <p class="text-center">Let’s work together! Every team should have the <b>best</b> leaders equipped with the <b>best</b> solutions.</p>
-                    </div>
-                </section>
-                <section class="accordion-item">
-                    <a href="#">Partnering</a>
-                    <div class="accordion-item-content">
-                        <p class="text-center">Let’s work together! Your journey is our passion.</p>
-                    </div>
-                </section>
-                <section class="accordion-item">
-                    <a href="#">Speaking</a>
-                    <div class="accordion-item-content">
-                        <p class="text-center">Let’s work together! To inspire positive change.</p>
-                    </div>
-                </section>
-                <section id="planning" class="accordion-item">
-                    <a href="#">Planning</a>
-                    <div class="accordion-item-content">
-                        <p class="text-center">Let’s work together! Your <b>great</b> vision deserves a <b>great</b> plan.</p>
-                    </div>
-                </section>
-            </div>
-        </div>
-    </div>
-    <div id="front-shop" class="row small-up-1 medium-up-3 large-up-4" data-equalizer>
-    <?php $args = array(
-         'number'     => $number,
-         'orderby'    => 'title',
-         'order'      => 'ASC',
-         'hide_empty' => $hide_empty,
-         'include'    => $ids
-    );
-    $product_categories = get_terms( 'product_cat', $args );
-    $count = count($product_categories);
-    if ( $count > 0 ){
-        foreach ( $product_categories as $product_category ) { ?>
-            <div class="front-product-wrapper column">
-                <div class="front-product-container" data-equalizer-watch>
-                    <div class="products-image-container">
-                    <?php
-                            /**
-                             * woocommerce_before_subcategory_title hook
-                             *
-                             * @hooked woocommerce_subcategory_thumbnail - 10
-                             */
-                            do_action( 'woocommerce_before_subcategory_title', $product_category );
-                    ?>
-                    </div> 
-                    <div class="front-product-content-container">
-                        <?php 
-                        echo '<h4><a href="' . get_term_link( $product_category ) . '">' . $product_category->name . '</a></h4>';
-                        $args = array(
-                            'posts_per_page' => -1,
-                            'tax_query' => array(
-                                'relation' => 'AND',
-                                array(
-                                    'taxonomy' => 'product_cat',
-                                    'field' => 'slug',
-                                    // 'terms' => 'white-wines'
-                                    'terms' => $product_category->slug
-                                )
-                            ),
-                            'post_type' => 'product',
-                            'orderby' => 'title,'
-                        );
-                        $products = new WP_Query( $args );
-                        echo "<ul>";
-
-                        while ( $products->have_posts() ) {
-
-                            $products->the_post();
-                            ?>
-                                <li>
-                                    <a href="<?php the_permalink(); ?>">
-                                        <?php the_title(); ?>
-                                    </a>
-                                </li>
-                            <?php
-                        }
-                        if (!$products->have_posts()) {
-                            echo "TBD";
-                        }
-                        echo "</ul>";?>
-                    </div>
-                </div>
-            </div>
-        <?php } ?>
-    <?php } ?>
+    <div id="slide">
+        <?php get_template_part('parts/slide-show');?>
     </div>
     <div id="content-wrapper">
-        <div class="block-row" data-equalizer data-equalize-on="medium" data-equalize-by-row="false">
-            <?php
-            // get_template_part('parts/glm-blocks');
-            ?>
-        </div>
         <div class="row">
             <div class="small-12 columns">
                 <?php get_template_part('parts/main-content');?>
             </div>
         </div>
+        <div class="block-row" data-equalizer data-equalize-on="medium" data-equalize-by-row="false">
+            <?php
+             get_template_part('parts/glm-blocks');
+            ?>
+        </div>
     </div>
 </main>
\ No newline at end of file
index 726f945..a5c8f76 100644 (file)
@@ -1,15 +1,39 @@
 <header>
-    <div class="row">
-        <div id="logo-hide" class="small-12 large-3 columns text-center large-text-left">
-            <a href="<?php bloginfo('url')?>"><img src="<?php bloginfo('template_url');?>/assets/capstone-leadership-logo.png"></a>
-        </div>
-        <div id="slogan" class="small-12 large-9 text-center large-text-right columns">
-            <a href="<?php bloginfo('url')?>"><img src="<?php bloginfo('template_url');?>/assets/capstone-leadership-logo.png"></a>
-            <h1>You Want Healthcare to be Great. We Do Too.</h1>
-            <h2>Let's Work Together.</h2>
+    <div id="roof" class="row column">
+        <ul class="menu">
+            <li><a href="#">Weddings & Meetings</a></li>
+            <li><a href="#">Media</a></li>
+            <li><a href="#">Member Login</a></li>
+        </ul>
+        <ul class="menu align-right">
+            <li><a href="<?php bloginfo('url')?>">Home</a></li>
+            <li><a href="#">Contact Us</a></li>
+        </ul>
+        <ul class="menu align-right social">
+            <li><a href="#"></a></li>
+            <li><a href="#"></a></li>
+            <li><a href="#"></a></li>
+        </ul>
+    </div>
+    <div id="header-content">
+        <div class="row column">
+            <a class="button float-right show-for-medium">Search</a>
         </div>
-        <div id="exspendable-slogan" class="large-3 columns show-for-large">
-            <h1> Let's Work Together.</h1>
+        <div class="row">
+            <div class="small-12 large-10 columns text-center">
+                <div class="row">
+                    <div class="small-12 medium-4 columns">
+                        <a href="<?php bloginfo('url')?>"><img src="<?php bloginfo('template_url');?>/assets/harbor-coutry-logo.png"></a>
+                    </div>
+                    <div class="small-12 medium-8 columns">
+                        <h6 id="pitch">Eight Great Towns, One Great Lake</h6>
+                    </div>
+                </div>
+                <?php
+                include "sections/off-canvas.php";
+                include "sections/top-bar.php";
+                ?>
+            </div>
         </div>
     </div>
 </header>
\ No newline at end of file