Advertisement
thejackshannon

Memo Page php

Nov 8th, 2011
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. <?php get_header(); ?>
  2.  
  3. <!--BEGIN #primary .hfeed-->
  4. <div id="primary" class="hfeed">
  5. <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  6.  
  7. <!--BEGIN .hentry-->
  8. <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
  9.  
  10. <!--BEGIN .entry-header-->
  11. <div class="entry-header">
  12. <h1 class="page-title"><?php the_title(); ?><?php edit_post_link( __('edit', 'framework'), '<span class="edit-post">[', ']</span>' ); ?></h1>
  13. <!--END .entry-header-->
  14. </div>
  15.  
  16. <!--BEGIN .entry-content -->
  17. <div class="entry-content">
  18. <?php the_content(__('Read more...', 'framework')); ?>
  19. <!--END .entry-content -->
  20. </div>
  21.  
  22. <!--BEGIN .entry-footer-->
  23. <div class="entry-footer clearfix">
  24. <span class="entry-permalink"><a href="<?php the_permalink(); ?>"><?php echo human_time_diff(get_the_time('U'), current_time('timestamp')) .' '. __('ago', 'framework'); ?></a></span>
  25. <span class="entry-tags"><?php the_tags('/&nbsp;&nbsp;'.__('Tagged:', 'framework').' ', ', ', ''); ?></span>
  26. <?php if( get_option('tz_post_like') == true ) { ?>
  27. <span class="entry-like"><?php tz_printlikes($post->ID); ?></span>
  28. <?php } ?>
  29. <span class="entry-comments"><a href="<?php comments_link(); ?>"><?php comments_number( '0', '1', '%' ); ?></a></span>
  30. <!--END .entry-footer-->
  31. </div>
  32.  
  33. <!--END .hentry-->
  34. </div>
  35.  
  36. <?php comments_template('', true); ?>
  37.  
  38. <?php endwhile; endif; ?>
  39.  
  40. <!--END #primary .hfeed-->
  41. </div>
  42.  
  43. <?php get_sidebar(); ?>
  44.  
  45. <?php get_footer(); ?>
  46.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement