File: /home/sinanpasha/ru.sinanpasha.org/wp-content/themes/capital/content-single.php
<?php $template = get_post_meta($post->ID, 'wpzoom_post_template', true); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( option::is_on( 'post_thumb' ) ) {
if ($template == 'full') {
$size = 'loop-full';
}
else {
$size = 'loop';
}
if ( has_post_thumbnail() ) : ?>
<div class="post-thumb"><a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
<?php the_post_thumbnail($size); ?>
</a></div>
<?php endif;
} ?>
<aside class="entry-date">
<?php if ( option::is_on( 'post_date' ) ) { ?>
<span class="day"><?php the_time('d'); ?></span>
<span class="month"><?php the_time('M'); ?></span>
<span class="year"><?php the_time('Y'); ?></span>
<?php } ?>
<?php edit_post_link( __( 'Edit', 'wpzoom' ), '<p class="edit-link">', '</p>' ); ?>
</aside>
<section class="entry-body">
<header class="entry-header">
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
<div class="entry-meta">
<?php if ( option::is_on( 'post_author' ) ) { print( '<span class="entry-author">'.__('by', 'wpzoom'). ' ' ); the_author_posts_link(); print('</span>'); } ?>
<div class="clear"></div>
</div>
</header><!-- .entry-header -->
<div class="entry-content">
<?php the_content(); ?>
<?php
wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'wpzoom' ),
'after' => '</div>',
) );
?>
<?php if ( option::is_on( 'post_tags' ) ) : ?>
<?php
the_tags(
'<div class="tag_list">' . __( 'Tags:', 'wpzoom' ). ' ',
'<span class="separator">,</span>',
'</div>'
);
?>
<?php endif; ?>
</div><!-- .entry-content -->
</section>
<footer class="entry-footer">
<?php if ( option::is_on( 'post_share' ) ) : ?>
<div class="share">
<a href="https://twitter.com/intent/tweet?url=<?php echo urlencode( get_permalink() ); ?>&text=<?php echo urlencode( get_the_title() ); ?>" target="_blank" title="<?php esc_attr_e( 'Tweet this on Twitter', 'wpzoom' ); ?>" class="twitter"><?php echo option::get( 'post_share_label_twitter' ); ?></a>
<a href="https://facebook.com/sharer.php?u=<?php echo urlencode( get_permalink() ); ?>&t=<?php echo urlencode( get_the_title() ); ?>" target="_blank" title="<?php esc_attr_e( 'Share this on Facebook', 'wpzoom' ); ?>" class="facebook"><?php echo option::get( 'post_share_label_facebook' ); ?></a>
<a href="https://www.linkedin.com/cws/share?url=<?php echo urlencode( get_permalink() ); ?>" target="_blank" title="<?php esc_attr_e( 'Share on LinkedIn', 'wpzoom' ); ?>" class="linkedin"><?php echo option::get( 'post_share_label_linkedin' ); ?></a>
<div class="clear"></div>
</div>
<?php endif; ?>
<?php if ( option::is_on( 'post_author' ) ) : ?>
<div class="post_author">
<?php echo get_avatar( get_the_author_meta( 'ID' ) , 65 ); ?>
<span><?php _e( 'Written by', 'wpzoom' ); ?></span>
<?php the_author_posts_link(); ?>
</div>
<?php endif; ?>
</footer><!-- .entry-footer -->
<div class="clear"></div>
</article><!-- #post -->