Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. <?php get_header() ?>
  2.  
  3. <div id="container">
  4.  
  5. <?php get_sidebar() ?>
  6.  
  7. <div id="content">
  8.  
  9. <?php while ( have_posts() ) : the_post() ?>
  10. <div id="post-<?php the_ID() ?>" <?php if (function_exists(post_class)) { post_class(); } else { sandbox_post_class(); } ?>>
  11. <h2 class="entry-title"><a href="<?php the_permalink() ?>" title="<?php printf(__('Permalink to %s', 'sandbox'), wp_specialchars(get_the_title(), 1)) ?>" rel="bookmark"><?php the_title() ?></a></h2>
  12. <div class="top-meta">
  13. <small class="metadata">
  14. <span class="chronodata"><?php the_time('F jS, Y') ?></span>
  15. <span class="meta-sep">|</span>
  16. <span class="cat-links"><?php printf(__('Posted in %s', 'sandbox'), get_the_category_list(', ')) ?></span>
  17. <?php edit_post_link(__('Edit', 'sandbox'), "\t\t\t\t\t<span class=\"meta-sep\">|</span><span class=\"edit-link\">", "</span>\n"); ?>
  18.  
  19. </small>
  20. </div><!-- top-meta -->
  21.  
  22. <div class="entry-content">
  23. <?php the_content(''.__('Read More <span class="meta-nav">&raquo;</span>', 'sandbox').''); ?>
  24.  
  25. <?php wp_link_pages('before=<div class="page-link">' .__('Pages:', 'sandbox') . '&after=</div>') ?>
  26. <span class="clear"></span>
  27. </div><!-- entry-content -->
  28.  
  29. <div class="bottom-meta">
  30. <small class="metadata"><?php the_tags(__('<span class="tag-links">Tagged in: ', 'sandbox'), ", ", "</span>\n") ?></small>
  31. </div><!-- added bottom-meta-->
  32.  
  33. <div class="bottom-meta"><!-- added -->
  34. <span class="clear"></span><!-- added -->
  35. <span class="comments-link"><?php comments_popup_link('LEAVE A REPLY', '1 Comment', '% Comments', 'commentslink', 'Closed'); ?></span><!-- this line was originally after first small class metadata -->
  36. </div><!-- added bottom-meta -->
  37. </div><!-- .post -->
  38.  
  39. <?php comments_template() ?>
  40. <?php endwhile ?>
  41.  
  42.  
  43. </div><!-- #content -->
  44. </div><!-- #container -->
  45.  
  46. <?php get_footer() ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement