-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.php
executable file
·47 lines (35 loc) · 1.25 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
<?php
/**
* The template for displaying all pages.
*
*
* @package WordPress
* @subpackage Siren
* @version 3.0
*/
get_header(); ?>
<div class="page-container">
<section class="section section-main" role="main">
<?php while ( have_posts() ) : the_post(); ?>
<article id="post<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="header">
<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
<div class="thumbnail">
<?php the_post_thumbnail(); ?>
</div>
<?php endif; ?>
<h1 class="title"><?php the_title(); ?></h1>
</header><!-- .entry-header -->
<div class="content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'siren' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?>
</div><!-- .entry-content -->
<footer class="meta">
<?php edit_post_link( __( 'Edit', 'siren' ), '<span class="edit-link">', '</span>' ); ?>
</footer><!-- .entry-meta -->
</article><!-- #post -->
<?php comments_template(); ?>
<?php endwhile; ?>
</section><!-- #content -->
</div><!-- #primary -->
<?php get_footer(); ?>