added share this to single.php
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 4 Jan 2016 16:04:18 +0000 (11:04 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 4 Jan 2016 16:04:18 +0000 (11:04 -0500)
home.php
single.php

index d84c65b..de12e10 100644 (file)
--- a/home.php
+++ b/home.php
@@ -1,7 +1,8 @@
 <?php get_header(); ?>
-<header>
-    <?php get_template_part('parts/head-image');?>
-</header>
+ <header>
+     <?php get_template_part('parts/head-image'); ?>
+ </header>
+<?php get_template_part('parts/off-canvas_main');?>
 <main class="blog-home">
 <!--
    <article <?php  //post_class() ?> id="interior-featured">
index 84e3970..8eacaae 100644 (file)
@@ -1,4 +1,9 @@
 <?php get_header(); ?>
+<header>
+    <?php get_template_part('parts/top-bar_main');?>
+    <?php get_template_part('parts/head-image');?>
+</header>
+<?php get_template_part('parts/off-canvas_menu');?>
     <main class="blog-single">    
         <div class="row">
             <div id="blog-posts-over" class="small-12 medium-9 columns">
@@ -8,6 +13,25 @@
                         <div class="row">
                             <div class="small-12 columns">
                                 <article id="<?php the_ID()?>" <?php post_class()?>>
+                                    <header class="entry-header">
+                                        <h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h2>
+                                        <?php if ( has_post_thumbnail() ):?>
+                                        <div class="featured-image-wrap"><?php the_post_thumbnail("large"); ?></div>
+                                        <?php endif; ?>
+                                        <span class="meta date">Posted on <?php the_time('F jS, Y') ?></span>
+                                    </header>
+                                    <?php if (get_post_type( $post ) != "ai1ec_event") { ?>
+                                    <div id="addthis_wrapper">
+                                        <!-- AddThis Button BEGIN -->
+                                        <div class="addthis_toolbox addthis_default_style ">
+                                            <a class="addthis_counter addthis_pill_style"></a>
+                                        </div>
+                                        <script type="text/javascript">var addthis_config = {"data_track_addressbar":false};</script>
+                                        <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5135fe4558d287a9"></script>
+                                        <!--                                        <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js"></script>-->
+                                        <!-- AddThis Button END -->
+                                    </div><!--/#addthis_wrapper-->
+                                    <?php } ?>
                                     <?php echo the_content(); ?>
                                     <footer class="entry-meta small-12 medium-6 medium-push-3 center">
                                         <?php $post_categories = wp_get_post_categories( get_the_ID() );