Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php get_header(); ?>
- <div id="content">
- <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
- <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
- <h1 class="entry-title"><?php the_title(); ?></h1>
- <div class="entry-meta">
- <span class="date"><span class="day"><?php the_time( __( 'j', 'pongsari' )); ?></span><span class="month"><?php the_time( __( 'M', 'pongsari' )); ?></span></span>
- <?php
- printf( __( '<span class="meta-sep">автор</span> %1$s', 'pongsari' ),
- sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>',
- get_author_posts_url( get_the_author_meta( 'ID' ) ),
- sprintf( esc_attr__( 'View all posts by %s', 'pongsari' ), get_the_author() ),
- get_the_author()
- )
- );
- ?>
- </div><!-- .entry-meta -->
- <div class="entry-content">
- <?php the_content(); ?>
- <a title="Twitter" target="_blank" rel="nofollow" href="http://twitter.com/home/?status=<?php the_title(); ?> <?php bloginfo('url'); ?>/?p=<?php the_ID(); ?>"><img src="<?php bloginfo('template_url'); ?>/images/twitter-32.png"></a>
- <a href="http://vkontakte.ru/share.php?url=<?php the_permalink(); ?>" target="_blank" rel="nofollow"><img src="<?php bloginfo('template_url'); ?>/images/vkontakte-32.png"title="Vkontakte"></a>
- <a rel="nofollow" target="blank" href="http://www.facebook.com/sharer.php?u=<?php the_permalink(); ?>"><img src="<?php bloginfo('template_url'); ?>/images/facebook-32.png" title="FaceBook"></a>
- <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'pongsari' ), 'after' => '</div>' ) ); ?>
- </div><!-- .entry-content -->
- <span class="clear"></span>
- <?php if ( get_the_author_meta( 'description' ) ) : ?>
- <div id="entry-author-info">
- <div id="author-avatar">
- <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'pongsari_author_bio_avatar_size', 60 ) ); ?>
- </div><!-- #author-avatar -->
- <div id="author-description">
- <h2><?php printf( esc_attr__( 'Автор %s' ), get_the_author() ); ?></h2>
- <?php the_author_meta( 'description' ); ?>
- <div id="author-link">
- <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>">
- <?php printf( __( 'Читать все записи автора %s <span class="meta-nav">→</span>', 'pongsari' ), get_the_author() ); ?>
- </a>
- </div><!-- #author-link -->
- </div><!-- #author-description -->
- </div><!-- #entry-author-info -->
- <?php endif; ?>
- <div class="entry-utility">
- <?php pongsari_posted_in(); ?>
- <?php edit_post_link( __( 'Edit' ), '<span class="edit-link">', '</span>' ); ?>
- </div><!-- .entry-utility -->
- </div><!-- #post-## -->
- <div id="nav-below" class="navigation">
- <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
- </div><!-- #nav-below -->
- <?php comments_template( '', true ); ?>
- <?php endwhile; // end of the loop. ?>
- </div><!-- #content -->
- <?php get_sidebar(); ?>
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement