Advertisement
Guest User

Untitled

a guest
Sep 6th, 2011
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.16 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3. <div id="content">
  4.  
  5. <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
  6.  
  7. <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  8. <h1 class="entry-title"><?php the_title(); ?></h1>
  9.  
  10. <div class="entry-meta">
  11. <span class="date"><span class="day"><?php the_time( __( 'j', 'pongsari' )); ?></span><span class="month"><?php the_time( __( 'M', 'pongsari' )); ?></span></span>
  12. <?php
  13. printf( __( '<span class="meta-sep">автор</span> %1$s', 'pongsari' ),
  14. sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>',
  15. get_author_posts_url( get_the_author_meta( 'ID' ) ),
  16. sprintf( esc_attr__( 'View all posts by %s', 'pongsari' ), get_the_author() ),
  17. get_the_author()
  18. )
  19. );
  20. ?>
  21.  
  22. </div><!-- .entry-meta -->
  23.  
  24. <div class="entry-content">
  25. <?php the_content(); ?>
  26. <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>
  27. <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>
  28. <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>
  29.  
  30. <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'pongsari' ), 'after' => '</div>' ) ); ?>
  31. </div><!-- .entry-content -->
  32.  
  33. <span class="clear"></span>
  34.  
  35. <?php if ( get_the_author_meta( 'description' ) ) : ?>
  36. <div id="entry-author-info">
  37. <div id="author-avatar">
  38. <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'pongsari_author_bio_avatar_size', 60 ) ); ?>
  39. </div><!-- #author-avatar -->
  40. <div id="author-description">
  41. <h2><?php printf( esc_attr__( 'Автор %s' ), get_the_author() ); ?></h2>
  42. <?php the_author_meta( 'description' ); ?>
  43. <div id="author-link">
  44. <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>">
  45. <?php printf( __( 'Читать все записи автора %s <span class="meta-nav">&rarr;</span>', 'pongsari' ), get_the_author() ); ?>
  46. </a>
  47. </div><!-- #author-link -->
  48. </div><!-- #author-description -->
  49. </div><!-- #entry-author-info -->
  50. <?php endif; ?>
  51.  
  52. <div class="entry-utility">
  53. <?php pongsari_posted_in(); ?>
  54. <?php edit_post_link( __( 'Edit' ), '<span class="edit-link">', '</span>' ); ?>
  55. </div><!-- .entry-utility -->
  56. </div><!-- #post-## -->
  57.  
  58. <div id="nav-below" class="navigation">
  59. <?php if(function_exists('wp_pagenavi')) { wp_pagenavi(); } ?>
  60. </div><!-- #nav-below -->
  61.  
  62. <?php comments_template( '', true ); ?>
  63.  
  64. <?php endwhile; // end of the loop. ?>
  65.  
  66. </div><!-- #content -->
  67.  
  68. <?php get_sidebar(); ?>
  69. <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement