<?php
$pin_image = wp_get_attachment_url( get_post_thumbnail_id( get_the_id() ) ); ?>
<div class="entry-meta">
    <div class="entry-meta-container">
        <?php if ( !is_page() ) : ?>
		<time>
		<?php 
			$archive_year  = get_the_time( 'Y' ); 
			$archive_month = get_the_time( 'm' ); 
			$archive_day   = get_the_time( 'd' ); 
		?>
		<a href="<?php echo esc_url( get_day_link( $archive_year, $archive_month, $archive_day ) ); ?>">
			<i class="fa fa-clock-o"></i>
			<?php the_time(get_option('date_format')); ?>
		</a>
		</time>
        <?php endif; ?>
       <?php if ( is_single() ) : ?>
        <span class="post-share">
            <a class="social-icon" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=<?php the_permalink(); ?>"><i class="fa fa-facebook"></i></a>
            <a class="social-icon" target="_blank" href="https://twitter.com/home?status=Check%20out%20this%20article:%20<?php echo marlin_lite_url_encode( get_the_title() ); ?>%20-%20<?php echo urlencode(the_permalink()); ?>"><i class="fa fa-twitter"></i></a>
            <a class="social-icon" target="_blank" href="https://pinterest.com/pin/create/button/?url=<?php the_permalink(); ?>&media=<?php echo esc_url($pin_image); ?>&description=<?php the_title(); ?>"><i class="fa fa-pinterest"></i></a>
            <a class="social-icon" target="_blank" href="https://plus.google.com/share?url=<?php the_permalink(); ?>"><i class="fa fa-google-plus"></i></a></i></a>
        </span>
        <?php endif; ?>
    </div>
</div>