Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 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 global $more;
  10. if( is_home() && !is_paged()) $more = -1;
  11. while ( have_posts() ) : the_post() ?>
  12. <div id="post-<?php the_ID() ?>" <?php if (function_exists(post_class)) { post_class(); } else { sandbox_post_class(); } ?>>
  13. <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>
  14. <div class="top-meta">
  15. <small class="metadata">
  16. <span class="chronodata"><?php the_time('F jS, Y') ?></span>
  17. <span class="meta-sep">|</span>
  18. <span class="cat-links"><?php printf(__('Posted in %s', 'sandbox'), get_the_category_list(', ')) ?></span>
  19. <?php edit_post_link(__('Edit', 'sandbox'), "\t\t\t\t\t<span class=\"meta-sep\">|</span><span class=\"edit-link\">", "</span>\n"); ?>
  20.  
  21. </small>
  22. </div><!-- top-meta -->
  23.  
  24. <div class="entry-content">
  25. <?php the_content(''.__('Read More <span class="meta-nav">&raquo;</span>', 'sandbox').''); $more = 0;?>
  26.  
  27. <?php wp_link_pages('before=<div class="page-link">' .__('Pages:', 'sandbox') . '&after=</div>') ?>
  28. <span class="clear"></span>
  29. </div><!-- entry-content -->
  30.  
  31. <div class="bottom-meta">
  32. <small class="metadata"><?php the_tags(__('<span class="tag-links">Tagged in: ', 'sandbox'), ", ", "</span>\n") ?></small>
  33. </div><!-- added bottom-meta-->
  34.  
  35. <div class="bottom-meta"><!-- added -->
  36. <span class="clear"></span><!-- added -->
  37. <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 -->
  38. </div><!-- added bottom-meta -->
  39. </div><!-- .post -->
  40.  
  41. <?php comments_template() ?>
  42. <?php endwhile ?>
  43.  
  44.  
  45. </div><!-- #content -->
  46. </div><!-- #container -->
  47.  
  48. <?php get_footer() ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement