--- /dev/null
+<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>
+ <?php if ( has_post_thumbnail() ):?>
+ <?php if (get_post_type( $post ) != "ai1ec_event") { ?>
+ <div class="featured-image-wrap"><?php the_post_thumbnail("large"); ?></div>
+ <?php } ?>
+ <?php endif; ?>
+ <span class="meta date">Posted on <?php the_time('F jS, Y') ?></span>
+ </header>
+ <?php the_content(); ?>
+</article>
\ No newline at end of file
<?php endif; ?>
<span class="meta date">Posted on <?php the_time('F jS, Y') ?></span>
</header>
- <?php echo the_content(); ?>
+ <?php the_advanced_excerpt('length=250&length_type=characters&no_custom=1&ellipsis=%26hellip;&exclude_tags=a,img,p,div,h1,h2,h3,h4,h5,h6'); ?>
</article>
\ No newline at end of file
ul {
list-style-type: none;
}
+}
+.blog-archive, .blog-home {
+ .featured-image-wrap{
+ display: none;
+ }
}
\ No newline at end of file
}
}
}
+.st_sharethis {
+ float: right;
+ width: 58px;
+}
+body .stButton .sharethis {
+ background-image: url("../assets/share-icon.png") !important;
+ width: 52px;
+ height: 22px;
+}
\ No newline at end of file
<div class="small-11 small-centered columns">
<div class="row">
<div class="small-12 columns">
- <?php get_template_part('parts/blog-text'); ?>
+ <?php get_template_part('parts/blog-text-single'); ?>
<?php if ( comments_open() || get_comments_number() ) :
comments_template();
endif; ?>
<?php if(function_exists('bcn_display') && !is_front_page())
{
echo "<div class=\"breadcrumbs small-12 columns\">";
+ echo '<span class="st_sharethis" st_title="'. get_the_title().'" st_url="'. get_the_permalink() .'"></span>';
bcn_display();
echo "</div>";
}