Update to footer index and new page
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 27 Mar 2015 14:44:09 +0000 (10:44 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 27 Mar 2015 14:44:09 +0000 (10:44 -0400)
new pages
archive-testimonial.php
    for the testimonials page
Edits
index.php (copy of page.php)
footer.php (unique id for the main page footer)

archive-testimonial.php [new file with mode: 0644]
footer.php
index.php

diff --git a/archive-testimonial.php b/archive-testimonial.php
new file mode 100644 (file)
index 0000000..a45aa65
--- /dev/null
@@ -0,0 +1,31 @@
+<?php get_header(); ?>
+    <div class="main">
+    <?php get_template_part('parts/testimonial');?>
+        <div id="content-wrapper">
+             <div class="row">
+                 <?php
+                 get_template_part('parts/bread-crumbs');
+                 ?>
+             </div>
+             <div class="row">
+                <div id="main-content" class="small-8 small-centered columns">
+                        <?php if(have_posts()) : while(have_posts()): the_post();?>
+                        <h2><?php the_title();?></h2>
+                        <?php the_content();?>
+                        <?php endwhile; else:?>
+                        <p><?php _e('Sorry, no posts yet');?></p>
+                        <?php endif;?>
+                </div>
+            </div>
+            <div class="row">
+                <div class="logos">
+                    <ul class="small-block-grid-2 medium-block-grid-4">
+                        <li><img src="<?php echo get_template_directory_uri(); ?>/assets/NAHB.png"></li>
+                        <li><img src="<?php echo get_template_directory_uri(); ?>/assets/HBA.png"></li>
+                        <li><img src="<?php echo get_template_directory_uri(); ?>/assets/best-of.png"></li>
+                        <li><img src="<?php echo get_template_directory_uri(); ?>/assets/builder-of-year.png"></li>
+                    </ul>
+                </div>
+            </div>
+        </div>
+<?php get_footer(); ?>
index 92a8046..9e12a47 100644 (file)
@@ -1,4 +1,4 @@
-                        <footer>
+                        <footer id="main-footer">
 <!--
                             <?php if (is_active_sidebar('sidebar-f')) :?>
                                 <?php dynamic_sidebar('sidebar-f');?>
index 6c0bc0f..6bc9b6d 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,31 +1,31 @@
 <?php get_header(); ?>
-                    <div class="main">
-                        <div class="row">    
-                            <div id="slideshow">
-                                <img src="assets/slider.jpg">
-                                <div class="medium-12 columns show-for-medium-up nivo-caption overlay">
-                                    <p>Img description here.</p>
-                                </div>
-                            </div>
-                        </div>
-                        <div id="content-wrapper">    
-                            <div class="row">    
-                                <div id="content-input" class="small-12 columns text-center">
-                                    <h1>Excellence in Building</h1>
-                                    <p>Adelaine Construction has over 30 years experience building and remodeling custom homes in the Harbor Springs and Petoskey <br>areas. Our expertise is highly respected among the building industry but our attention to detail and customer experience earn <br>us a majority of our work through client referrals. Our family owned business strives to become the most qualified general <br>contractor in Emmet, Charlevoix, and Cheboygan Counties. Our hands-on approach to each project provides superior <br>customer service to our owners. Our unique customer relationship allows a fun and enjoyable experience, whether <br>we are working on a custom home, log home, addition/remodeling or light commercial projects.</p>
-                                </div>
-                            </div>
-                            <div id="testimonials" class="row">
-                                <div class="small-12 columns overlay">
-                                    <div id="push" class="small-2 medium-1 columns">
-                                        <img src="assets/testimonial-left.png">
-                                    </div>
-                                    <div class="small-8 medium-9 columns">
-                                        <p>“We really like our new house...  any problems we had you solved. We think we would still be looking for a ready built house we like as well as this one. Thanks a lot.”<span>Mary O. & Elizabeth L.</span></p>
-                                    </div>
-                                    <div class="small-2 medium-1 columns left">
-                                        <img src="assets/testimonial-right.png">
-                                    </div>
-                                </div>
-                            </div>
-<?php get_footer(); ?>                        
\ No newline at end of file
+    <div class="main">
+    <?php get_template_part('parts/testimonial');?>
+        <div id="content-wrapper">
+             <div class="row">
+                 <?php
+                 get_template_part('parts/bread-crumbs');
+                 ?>
+             </div>
+             <div class="row">
+                <div id="main-content" class="small-12 columns">
+                        <?php if(have_posts()) : while(have_posts()): the_post();?>
+                        <h2><?php the_title();?></h2>
+                        <?php the_content();?>
+                        <?php endwhile; else:?>
+                        <p><?php _e('Sorry, no posts yet');?></p>
+                        <?php endif;?>
+                </div>
+            </div>
+            <div class="row">
+                <div class="logos">
+                    <ul class="small-block-grid-2 medium-block-grid-4">
+                        <li><img src="<?php echo get_template_directory_uri(); ?>/assets/NAHB.png"></li>
+                        <li><img src="<?php echo get_template_directory_uri(); ?>/assets/HBA.png"></li>
+                        <li><img src="<?php echo get_template_directory_uri(); ?>/assets/best-of.png"></li>
+                        <li><img src="<?php echo get_template_directory_uri(); ?>/assets/builder-of-year.png"></li>
+                    </ul>
+                </div>
+            </div>
+        </div>
+<?php get_footer(); ?>