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 |
* Template Name: Full-width Page Template, No Sidebar |
|
4 |
* |
|
5 |
* Description: Twenty Twelve loves the no-sidebar look as much as |
|
6 |
* you do. Use this page template to remove the sidebar from any page. |
|
7 |
* |
|
8 |
* Tip: to remove the sidebar from all posts and pages simply remove |
|
9 |
* any active widgets from the Main Sidebar area, and the sidebar will |
|
10 |
* disappear everywhere. |
|
11 |
* |
|
12 |
* @package WordPress |
|
13 |
* @subpackage Twenty_Twelve |
|
14 |
* @since Twenty Twelve 1.0 |
|
15 |
*/ |
|
16 |
||
17 |
get_header(); ?> |
|
18 |
||
19 |
<div id="primary" class="site-content"> |
|
20 |
<div id="content" role="main"> |
|
21 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
22 |
<?php |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
23 |
while ( have_posts() ) : |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
24 |
the_post(); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
25 |
?> |
0 | 26 |
<?php get_template_part( 'content', 'page' ); ?> |
27 |
<?php comments_template( '', true ); ?> |
|
28 |
<?php endwhile; // end of the loop. ?> |
|
29 |
||
30 |
</div><!-- #content --> |
|
31 |
</div><!-- #primary --> |
|
32 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
0
diff
changeset
|
33 |
<?php get_footer(); ?> |