Fixed press release page, pushed wrong version.
authorLaury GvR <laury@gaslightmedia.com>
Wed, 8 Jul 2015 20:48:24 +0000 (16:48 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 8 Jul 2015 20:48:24 +0000 (16:48 -0400)
css/app.css
page-1257.php
scss/_structure.scss

index 4c0d7a2..aa5360f 100644 (file)
@@ -6812,7 +6812,7 @@ main > .row > div {
   padding: 0 !important; }
 
 #inside-page-posts .home-feed-post {
-  padding-bottom: 0; }
+  padding-bottom: 10px; }
 
 .home-feed-post-image {
   margin: 10px 0px; }
index 9d8d109..c9c0362 100644 (file)
 <?php get_header(); ?>
-                <main>
-                    <div class="row" data-equalizer>
-                        <?php get_sidebar(); ?>
-                        <div id="content-bulk" class="small-12 large-9 columns" data-equalizer-watch>
-                            <div id="con" class="row">
-                                <div class="small-12 columns">
-                                    <?php
-                                    get_template_part('parts/bread-crumbs');
-                                    ?>
-                                    <?php if(have_posts()) : while(have_posts()): the_post();?>
-                                    <?php the_content();?>
-                                    <?php endwhile; else:?>
-                                    <p><?php _e('Sorry, no posts yet');?></p>
-                                    <?php endif;?>
-                                </div>
+            <main id="inside-page-posts">
+                <div class="row" data-equalizer>
+                    <?php get_sidebar(); ?>
+                    <div id="blog-posts-over" class="small-12 medium-9 columns">
+                        <div id="con" class="row">
+                            <div class="small-12 columns">
+                                <?php
+                                get_template_part('parts/bread-crumbs');
+                                ?>
+                                <?php if(have_posts()) : while(have_posts()): the_post();?>
+                                <?php the_content();?>
+                                <?php endwhile; else:?>
+                                <p><?php _e('Sorry, no posts yet');?></p>
+                                <?php endif;?>
                             </div>
-                                        <?php
-                            $args = array( 'numberposts' => 3,'category'=>'sheriff-department');
-                            $lastposts = get_posts( $args );
-                            foreach($lastposts as $post) : setup_postdata($post); ?>
-                                <div class="home-feed-post">
-
-                                    <div class="row">
-                                        <?php if (has_post_thumbnail( $post->ID )) { ?> 
-                                        <div class="small-8 small-centered medium-3 medium-uncentered columns home-feed-post-image">
-                                            <?php echo get_the_post_thumbnail($post->ID, array(190, 190), array('class' => 'blog-excerpt-img-wrap')); ?>
-                                            </div>
-                                            <div class="small-12 medium-9 columns home-feed-post-content">
-                                             <?php } else { ?>
-                                            <div class="small-12 columns home-feed-post-content">
-                                            <?php } ?>
-                                            <h3 class="title-posts" href="<?php the_permalink(); ?>"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
-
-                <!--                            <p id="date" class="italic"><?php // echo get_the_date('D, F j, Y g:iA', $post->ID); ?></p>-->
+                        </div>
+                                    <?php
+                        $args = array( 'numberposts' => 3,'category'=>'sheriff-department');
+                        $lastposts = get_posts( $args );
+                        foreach($lastposts as $post) : setup_postdata($post); ?>
+                            <div class="row content blog-post-container home-feed-post">
 
-                                            <div><?php echo the_advanced_excerpt('length=95&length_type=characters&no_custom=1&ellipsis=%26hellip;&exclude_tags=a,img,p,strong,h1,h2,h3,hr,div'); ?></div>
+                                <div class="small-11 small-centered columns">
+                                    <?php if (has_post_thumbnail( $post->ID )) { ?> 
+                                    <div class="small-8 small-centered medium-3 medium-uncentered columns home-feed-post-image">
+                                        <?php echo get_the_post_thumbnail($post->ID, array(190, 190), array('class' => 'blog-excerpt-img-wrap')); ?>
                                         </div>
+                                        <div class="small-12 medium-9 columns home-feed-post-content">
+                                         <?php } else { ?>
+                                        <div class="small-12 columns home-feed-post-content">
+                                        <?php } ?>
+                                        <header class="entry-header">
+                                            <h3 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h3>
+                                            <span class="meta date">Posted on <?php the_time('F jS, Y') ?></span>
+                                        </header>
+                                        <div><?php echo the_advanced_excerpt('length=95&length_type=characters&no_custom=1&ellipsis=%26hellip;&exclude_tags=a,img,p,strong,h1,h2,h3,hr,div'); ?></div>
                                     </div>
                                 </div>
-                            <?php endforeach; ?>
-                            <footer>
-                                <div class="small-12 small-text-center columns">
-                                    <img src="<?php echo get_template_directory_uri(); ?>/assets/slogan.png">
-                                </div>
-                                <div class="address medium-offset-3 medium-9 show-for-medium-up columns">
-                                    <img class="left" src="<?php echo get_template_directory_uri(); ?>/assets/seal.png">
-                                    <p>Emmet County, Michigan<br>200 Division Street, Petoskey, MI 49770<br>231-348-1702 | <a href="#">Contact Us</a></p>
-                                </div>
-                            </footer>
-                        </div>
-                        <?php if (get_the_block( 'sidebar' ) != "" && $name != "request-brochures") {
-                            get_template_part('parts/right-sidebar');
-                        } ?>
-                    </div>
-<?php get_footer(); ?>
-
-                        
-        <div id="blog-posts-over" class="small-12 medium-9 columns">
-            <?php if(have_posts()) : while(have_posts()): the_post();?>
-            <div class="row content blog-post-container">
-                <div class="small-11 small-centered columns">
-                    <article id="<?php the_ID()?>" <?php post_class()?>>
-                        <header class="entry-header">
-                            <h1 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h1>
-                            <span class="meta date">Posted on <?php the_time('F jS, Y') ?></span>
-                        </header>
-                        <?php echo the_advanced_excerpt(); ?>
-                        <footer class="entry-meta small-12 medium-6 medium-push-3 center">
-                            <?php $post_categories = wp_get_post_categories( get_the_ID() );
-                            $cats = array();
-                            echo 'This entry was posted ';
-                            if (has_category()) {
-                                echo 'in';
-                                foreach($post_categories as $c){
-                                    $cat = get_category( $c );
-                                    $cats[] = array( 'name' => $cat->name, 'slug' => $cat->slug );
-                                    echo ', <a rel="category" title="View all posts in '. $cat->name . ' " href="'. $cat->slug .'">'. $cat->name .'</a>';
-                                }
-                                echo '.';
-                            }
-                            ?>
+                            </div>
+                        <?php endforeach; ?>
+                        <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 -->
+                        <footer>
+                            <div class="small-12 small-text-center columns">
+                                <img src="<?php echo get_template_directory_uri(); ?>/assets/slogan.png">
+                            </div>
+                            <div class="address medium-offset-3 medium-9 show-for-medium-up columns">
+                                <img class="left" src="<?php echo get_template_directory_uri(); ?>/assets/seal.png">
+                                <p>Emmet County, Michigan<br>200 Division Street, Petoskey, MI 49770<br>231-348-1702 | <a href="#">Contact Us</a></p>
+                            </div>
                         </footer>
-                    </article>
+                    </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-wrapper" class="small-11 small-only-text-center medium-3 columns">
-            <div id="blog-side-info">
-                <form id="searchform" action="<?php bloginfo('url'); ?>" method="get">
-                    <div><input id="s" class="text" type="text" name="s" value="" />
-                    <input class="submit blogbutton" type="submit" name="submit" value="Search the Blog" />
-                    <input type="hidden" name="searchType" value="blog" /> </div>
-                </form>
-                <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>
-                <p>Categories</p>
-                <ul>
-                    <?php
-                    $args = array(
-                    'orderby' => 'name',
-                    'order' => 'ASC'
-                    );
-                  $categories = get_categories($args);
-                    foreach($categories as $category) { 
-                      echo '<li><a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '>' . $category->name.'</a> </li> ';  } 
-                    ?>
-                </ul>
-            </div>
-        </div>
\ No newline at end of file
+<?php get_footer(); ?>
index ff51b83..21e9f72 100644 (file)
@@ -592,7 +592,7 @@ main > .row > div {
     }
 }
 #inside-page-posts .home-feed-post {
-    padding-bottom: 0;
+    padding-bottom: 10px;
 }
 .home-feed-post-image {
     margin: 10px 0px;