Advertisement
Guest User

content-single.php

a guest
Mar 1st, 2013
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. <?php include (get_template_directory() . '/buddypress/buddypress-globals.php'); ?>
  2. <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
  3.  
  4. <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
  5. <h1 class="post-title"><?php the_title(); ?></h1>
  6.  
  7. <div class="post-meta">
  8. <?php framemarket_postedon(); ?>
  9. </div>
  10. <div class="post-content">
  11. <?php the_content(); ?>
  12. <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'framemarket'), 'after' => '</div>' ) ); ?>
  13. </div>
  14.  
  15. <?php if ( get_the_author_meta( 'description' ) ) : ?>
  16. <div id="author-info">
  17. <div id="author-avatar">
  18. <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'market_author_bio_avatar_size', 60 ) ); ?>
  19. </div>
  20. <div id="author-description">
  21. <h2><?php printf( esc_attr__( 'About %s', 'framemarket'), get_the_author() ); ?></h2>
  22. <?php the_author_meta( 'description' ); ?>
  23. <div id="author-link">
  24. <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>">
  25. <?php printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'framemarket'), get_the_author() ); ?>
  26. </a>
  27. </div>
  28. </div>
  29. </div>
  30. <?php endif; ?>
  31.  
  32. <div class="post-info">
  33. <?php framemarket_postedin(); ?>
  34. <?php edit_post_link( __( 'Edit', 'framemarket'), '<span class="edit-link">', '</span>' ); ?>
  35. </div>
  36. </div>
  37.  
  38. <div id="navigation-bottom" class="navigation">
  39. <?php wp_pagenavi(); ?>
  40. </div>
  41.  
  42. <?php comments_template( '', true ); ?>
  43.  
  44. <?php endwhile; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement