home.php made to suit site markup, erased filler text
authorLaury GvR <laury@gaslightmedia.com>
Mon, 30 Mar 2015 17:59:31 +0000 (13:59 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Mon, 30 Mar 2015 17:59:31 +0000 (13:59 -0400)
home.php

index 40330e7..ac46022 100644 (file)
--- a/home.php
+++ b/home.php
@@ -1,56 +1,54 @@
 <?php get_header(); ?>
-<div class="row">
-    <div id="searchform_container" class="small-12 medium-3 columns alignright">
-        <form id="searchform" action="<?php bloginfo('url'); ?>" method="get">
-            <div><input id="s" class="text" type="text" name="s" value="" />
-            <input class="submit button blogbutton" type="submit" name="submit" value="Search" />
-            <input type="hidden" name="searchType" value="blog" /> </div>
-        </form>
-    </div>
-    <div id="blog-posts-over" class="small-12 medium-9 columns">
-        <?php if(have_posts()): $i = 1; while (have_posts() && $i < 6) : the_post(); ?>
-        <div class="row content" id="blog-posts-container">
-            <div class="small-12 small-centered columns">
-                <div class="row">
-                    <div class="small-12 columns">
-
-                        <article id="<?php the_ID()?>" <?php post_class()?>>
-                            <header class="entry-header">
-
-                                <span class="meta"> Posted on <strong><?php the_time('F jS, Y'); ?></strong> </span>
-                                <h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h2>
-                            </header>
-                            <?php echo the_advanced_excerpt('length=200&length_type=words&no_custom=1&ellipsis=%26hellip;'); ?>
-                            <hr>
-                        </article>
+        <div id="content-wrapper" class='side-shadow row'>
+            <div id="searchform_container" class="small-12 medium-3 columns alignright">
+                <form id="searchform" action="<?php bloginfo('url'); ?>" method="get">
+                    <div><input id="s" class="text" type="text" name="s" value="" />
+                    <input class="submit button blogbutton" type="submit" name="submit" value="Search" />
+                    <input type="hidden" name="searchType" value="blog" /> </div>
+                </form>
+            </div>
+            <div id="blog-posts-over" class="small-12 medium-9 columns">
+                <?php if(have_posts()): $i = 1; while (have_posts() && $i < 6) : the_post(); ?>
+                    <div class="row content" id="blog-posts-container">
+                        <div class="small-12 small-centered columns">
+                            <div class="row">
+                                <div class="small-12 columns">
+                                    <article id="<?php the_ID()?>" <?php post_class()?>>
+                                        <header class="entry-header">
+                                            <span class="meta"> Posted on <strong><?php the_time('F jS, Y'); ?></strong> </span>
+                                            <h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h2>
+                                        </header>
+                                        <?php echo the_advanced_excerpt('length=200&length_type=words&no_custom=1&ellipsis=%26hellip;'); ?>
+                                        <hr>
+                                    </article>
+                                </div>
+                            </div>
+                        </div>
                     </div>
-                </div>
+                <?php endwhile; ?>
+                <div class="navigation">
+                    <span class="newer"><?php previous_posts_link(__('« Newer','example')) ?></span> <span class="older"><?php next_posts_link(__('Older »','example')) ?></span>
+                </div><!-- /.navigation -->
+                <?php else: ?>
+                <div id="post-404" class="noposts">
+                    <p><?php _e('Sorry, no results were found.');?></p>
+                </div><!-- /#post-404 -->
+                <?php endif;?>
+            </div>
+            <div id="blog-side-info" class="alignright small-12 medium-3">
+
+                <p>Recent Posts</p>
+                <ul>
+                <?php
+                        $args = array( 'numberposts' => '5' );
+                        $recent_posts = wp_get_recent_posts( $args );
+                        foreach( $recent_posts as $recent ){
+                                echo '<li><a href="' . get_permalink($recent["ID"]) . '">' .   $recent["post_title"].'</a> </li> ';
+                        }
+                ?>
+                </ul>
+                <p>Archive</p>
+                <ul><?php wp_get_archives( array( 'type' => 'monthly', 'limit' => 12 ) ); ?></ul>
             </div>
         </div>
-        <?php endwhile; ?>
-        <div class="navigation">
-            <span class="newer"><?php previous_posts_link(__('« Newer','example')) ?></span> <span class="older"><?php next_posts_link(__('Older »','example')) ?></span>
-        </div><!-- /.navigation -->
-        <?php else: ?>
-        <div id="post-404" class="noposts">
-                <p><?php _e('Sorry, no results were found.');?></p>
-        </div><!-- /#post-404 -->
-        <?php endif;?>
-    </div>
-    <div id="blog-side-info" class="alignright small-12 medium-3">
-        
-        <p>Recent Posts</p>
-        <ul>
-        <?php
-                $args = array( 'numberposts' => '5' );
-                $recent_posts = wp_get_recent_posts( $args );
-                foreach( $recent_posts as $recent ){
-                        echo '<li><a href="' . get_permalink($recent["ID"]) . '">' .   $recent["post_title"].'</a> </li> ';
-                }
-        ?>
-        </ul>
-        <p>Archive</p>
-        <ul><?php wp_get_archives( array( 'type' => 'monthly', 'limit' => 12 ) ); ?></ul>
-    </div>
-</div>
-        <?php get_footer(); ?>
+<?php get_footer(); ?>