<?php
/**
 * The default template for displaying content
 */
?>

<?php if (is_single()) : 
$value = get_post_meta( $post->ID, 'th_sidebar_dyn', true );?>
<div class="social-share">
 <ul>
 <li class="fb-icon"><a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=<?php esc_url(the_permalink()); ?>"></a></li>
 <li class="gml-icon"><a target="_blank" href="https://plus.google.com/share?url=<?php esc_url(the_permalink()); ?>"></a><li>
 <li class="twt-icon"><a target="_blank" href="https://twitter.com/home?status=<?php the_title(); ?>-<?php esc_url(the_permalink()); ?>"></a></li>
 <li class="paintest-icon"><a data-pin-do="skipLink" target="_blank" href="https://pinterest.com/pin/create/button/?url=<?php esc_url(the_permalink()); ?>&amp;media=&amp;description=<?php the_title(); ?>"></a></li>
 <li class="linked-icon"><a target="_blank" href="https://www.linkedin.com/shareArticle?mini=true&url=<?php esc_url(the_permalink()); ?>&title=<?php the_title(); ?>&source=LinkedIn"></a></li>
 </ul> 
</div>
<div class="clearfix"></div>
<div class="blog-top">
<div class="blog-image" data-center="background-position: 50% 0px;" data-top-bottom="background-position: 50% -100px;" style="background-image:url('<?php echo portfoliolite_page_thumb(); ?>')">
<div class="full-fs-caption">
     <div class="caption-container">
      <h1 class="title overtext">
      <a href="#"><?php the_title(); ?></a></h1>
     </div>
</div>

</div>
</div>
<div class="clearfix"></div>
<div id="page" class="clearfix  <?php echo $value; ?>">
<div class="content-wrapper">
<div class="content">
<div class="blog-content">
<div class="post" id="post-<?php the_ID(); ?>"<?php post_class('post'); ?>>
<div class="post-img-wrapper">  
</div>
<div class="blog-info-header">
<div class="blog-info-meta">
  <ul class="post_meta">
               
                 
                 <li class="posted_on"><i class="fa fa-calendar-o"></i><span></span><?php echo get_the_time('M, d, Y') ?></li>
                 <li class="posted_by"><a href=""><?php the_category(', '); ?></a></li>
                 <li class="post_comment"><i class="fa fa-comments-o"></i><a href="" title=""><?php portfoliolite_comment_number(); ?></a></li>
                 
 </ul>
</div>
<h2><a href="<?php esc_url(the_permalink()); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"></a></h2>
</div> 
<div class="clearfix"></div>
<div class="blog-info-content"><p><?php the_content(); ?></p>
<div class="tagcloud"><?php echo get_the_tag_list( '', __( ' ', 'portfoliolite' ) ); ?></div>
</div> 
<div class="paginate">
  <span class="post-previous"><?php previous_post_link('&laquo; %link'); ?></span>
  <span class="post-next"><?php next_post_link('%link &raquo;'); ?></span>
</div>
<?php endif; ?>