-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage.php
More file actions
39 lines (23 loc) · 753 Bytes
/
page.php
File metadata and controls
39 lines (23 loc) · 753 Bytes
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
<?php get_header(); ?>
<div id="content" class="content-sidebar">
<div class="wrap">
<?php do_action( 'before_content' ); ?>
<div id="main" role="main">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<article <?php post_class( 'cf' ); ?>>
<header class="article-header">
<h1 class="page-title" itemprop="headline"><?php the_title(); ?></h1>
</header>
<section class="entry-content" itemprop="articleBody">
<?php the_content(); ?>
</section>
</article>
<?php endwhile; else : ?>
<?php get_template_part( 'partials/content', 'missing' ); ?>
<?php endif; ?>
</div>
<?php #get_sidebar(); ?>
<?php do_action( 'after_content' ); ?>
</div>
</div>
<?php get_footer(); ?>