I added the favicon and waking other things
authorIan Weller <ian@gaslightmedia.com>
Mon, 22 May 2017 20:16:45 +0000 (16:16 -0400)
committerIan Weller <ian@gaslightmedia.com>
Mon, 22 May 2017 20:16:45 +0000 (16:16 -0400)
I added the favicon for the site and uncommented the blog feed.  I also
did some edits to the blog feed.

favicon.ico [new file with mode: 0644]
front-page.php
header.php
parts/blog-feed-front.php

diff --git a/favicon.ico b/favicon.ico
new file mode 100644 (file)
index 0000000..422aa4c
Binary files /dev/null and b/favicon.ico differ
index a4b2a87..811aba2 100644 (file)
@@ -15,8 +15,8 @@
                 <?php endif;?>
             </div>
         </div>
-<!--        <div class="row collapse">
-            <?php //get_template_part('parts/blog-feed-front');?>    
-        </div>  -->
+        <div class="row">
+            <?php get_template_part('parts/blog-feed-front');?>    
+        </div>  
     </div>
 <?php get_footer(); ?>
index 66d0d78..e04dba4 100644 (file)
@@ -5,13 +5,14 @@
     <meta charset="utf-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title><?php wp_title(); ?></title>
+    <link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri() ; ?>/favicon.ico">
     <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css">
     <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700' rel='stylesheet' type='text/css'>
 <!--    <link href='http://fonts.googleapis.com/css?family=Crimson+Text:600italic' rel='stylesheet' type='text/css'>-->
     <?php wp_head(); ?>
 <!--
     <script>
-        var base_url = '<?php echo get_stylesheet_directory_uri();?>/';
+        var base_url = '<?php //echo get_stylesheet_directory_uri();?>/';
     </script>
 -->
   </head>
index 52751d6..18ca94d 100644 (file)
@@ -1,5 +1,5 @@
     <?php
-    $args = array('numberposts' => 4, 'order_by' => 'date');
+    $args = array('numberposts' => 1, 'order_by' => 'date');
     $lastposts = get_posts( $args );
     if ($lastposts) { ?>
 
@@ -7,7 +7,7 @@
                 <div class="row">
                 <?php foreach($lastposts as $post) : setup_postdata($post); ?>
 
-                    <div class="front-blog small-12 medium-6 columns blog-feed-post">
+                    <div class="front-blog small-12 medium-10 columns blog-feed-post">
                         <?php $thumbnail = get_the_post_thumbnail($post->ID, 'blog-feed-front'); ?>
                         <?php if ($thumbnail) { ?>
                             <div class="small-8 medium-5 columns blog-feed-img">