author | ymh <ymh.work@gmail.com> |
Mon, 14 Oct 2019 17:39:30 +0200 | |
changeset 7 | cf61fcea0001 |
parent 0 | d970ebf37754 |
child 10 | 372f2766ea20 |
permissions | -rw-r--r-- |
0 | 1 |
<?php |
2 |
/** |
|
3 |
* The template for displaying all pages |
|
4 |
* |
|
5 |
* This is the template that displays all pages by default. |
|
6 |
* Please note that this is the WordPress construct of pages and that other |
|
7 |
* 'pages' on your WordPress site will use a different template. |
|
8 |
* |
|
9 |
* @package WordPress |
|
10 |
* @subpackage Twenty_Thirteen |
|
11 |
* @since Twenty Thirteen 1.0 |
|
12 |
*/ |
|
13 |
||
14 |
get_header(); ?> |
|
15 |
||
16 |
<div id="primary" class="content-area"> |
|
17 |
<div id="content" class="site-content" role="main"> |
|
18 |
||
19 |
<?php /* The loop */ ?> |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
20 |
<?php |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
21 |
while ( have_posts() ) : |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
22 |
the_post(); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
23 |
?> |
0 | 24 |
|
25 |
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> |
|
26 |
<header class="entry-header"> |
|
27 |
<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?> |
|
28 |
<div class="entry-thumbnail"> |
|
29 |
<?php the_post_thumbnail(); ?> |
|
30 |
</div> |
|
31 |
<?php endif; ?> |
|
32 |
||
33 |
<h1 class="entry-title"><?php the_title(); ?></h1> |
|
34 |
</header><!-- .entry-header --> |
|
35 |
||
36 |
<div class="entry-content"> |
|
37 |
<?php the_content(); ?> |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
38 |
<?php |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
39 |
wp_link_pages( |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
40 |
array( |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
41 |
'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
42 |
'after' => '</div>', |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
43 |
'link_before' => '<span>', |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
44 |
'link_after' => '</span>', |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
45 |
) |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
46 |
); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
47 |
?> |
0 | 48 |
</div><!-- .entry-content --> |
49 |
||
50 |
<footer class="entry-meta"> |
|
51 |
<?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?> |
|
52 |
</footer><!-- .entry-meta --> |
|
53 |
</article><!-- #post --> |
|
54 |
||
55 |
<?php comments_template(); ?> |
|
56 |
<?php endwhile; ?> |
|
57 |
||
58 |
</div><!-- #content --> |
|
59 |
</div><!-- #primary --> |
|
60 |
||
61 |
<?php get_sidebar(); ?> |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
62 |
<?php get_footer(); ?> |