-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathloop-single.php
More file actions
34 lines (34 loc) · 1.48 KB
/
loop-single.php
File metadata and controls
34 lines (34 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?php /* Start loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php wpbp_post_before(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php wpbp_post_inside_before(); ?>
<?php if ( has_post_thumbnail() ) : ?>
<div class="post-thumbnail">
<?php the_post_thumbnail('large'); ?>
</div>
<?php endif; ?>
<header class="post-header">
<div class="post-meta">
<time class="post-date updated" datetime="<?php the_time('c'); ?>" pubdate><?php printf(__('Posted on %s', 'wpbp'), get_the_time(__('l, F jS, Y', 'wpbp'))); ?></time>
<span class="post-author byline author vcard"><?php _e('by', 'wpbp'); ?> <?php the_author_posts_link(); ?></span>
</div>
<h1 class="post-title">
<?php the_title(); ?>
</h1>
</header>
<section class="post-content">
<?php the_content(); ?>
</section>
<footer class="post-footer">
<?php wp_link_pages(array( 'before' => '<nav id="page-nav"><p>' . __('Pages:', 'wpbp'), 'after' => '</p></nav>' )); ?>
<p class="post-tags"><?php the_tags(); ?></p>
</footer>
<section class="post-comments">
<?php comments_template(); ?>
</section>
<div class="clear"></div>
<?php wpbp_post_inside_after(); ?>
</article>
<?php wpbp_post_after(); ?>
<?php endwhile; // End the loop ?>