author | ymh <ymh.work@gmail.com> |
Mon, 14 Oct 2019 17:39:30 +0200 | |
changeset 7 | cf61fcea0001 |
parent 0 | d970ebf37754 |
permissions | -rw-r--r-- |
0 | 1 |
<?php |
2 |
/** |
|
3 |
* The Template for displaying all single posts |
|
4 |
* |
|
5 |
* @package WordPress |
|
6 |
* @subpackage Twenty_Twelve |
|
7 |
* @since Twenty Twelve 1.0 |
|
8 |
*/ |
|
9 |
||
10 |
get_header(); ?> |
|
11 |
||
12 |
<div id="primary" class="site-content"> |
|
13 |
<div id="content" role="main"> |
|
14 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
15 |
<?php |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
16 |
while ( have_posts() ) : |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
17 |
the_post(); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
18 |
?> |
0 | 19 |
|
20 |
<?php get_template_part( 'content', get_post_format() ); ?> |
|
21 |
||
22 |
<nav class="nav-single"> |
|
23 |
<h3 class="assistive-text"><?php _e( 'Post navigation', 'twentytwelve' ); ?></h3> |
|
24 |
<span class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '←', 'Previous post link', 'twentytwelve' ) . '</span> %title' ); ?></span> |
|
25 |
<span class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '→', 'Next post link', 'twentytwelve' ) . '</span>' ); ?></span> |
|
26 |
</nav><!-- .nav-single --> |
|
27 |
||
28 |
<?php comments_template( '', true ); ?> |
|
29 |
||
30 |
<?php endwhile; // end of the loop. ?> |
|
31 |
||
32 |
</div><!-- #content --> |
|
33 |
</div><!-- #primary --> |
|
34 |
||
35 |
<?php get_sidebar(); ?> |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
36 |
<?php get_footer(); ?> |