-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
48 lines (38 loc) · 1.04 KB
/
page.php
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/**
* Template Name: Page
*
* @package WordPress
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*
* The template for displaying all pages.
*
* @link https://codex.wordpress.org/Creating_an_Error_404_Page
*
*/
get_header(); ?>
<div class="container clearfix">
<div id="primary" class="content-area">
<!-- section -->
<section>
<h1><?php the_title(); ?></h1>
<?php while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php the_content(); ?>
<?php comments_template( '', true ); // Remove if you don't want comments. ?>
<br class="clear">
<?php edit_post_link(); ?>
</article>
<!-- /article -->
<?php get_template_part( 'template-parts/content', 'page' ); ?>
<article>
<h2><?php esc_html_e( 'Sorry, nothing to display.', 'creativity' ); ?></h2>
</article>
<?php endwhile; // End of the loop. ?>
</section>
</div><!-- #primary -->
<?php get_sidebar('left'); ?>
<?php get_sidebar('right'); ?>
</div>
<?php get_footer();