-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.php
31 lines (31 loc) · 918 Bytes
/
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
<?php get_header(); ?>
<?php if(have_posts()) : while(have_posts()) : the_post(); ?>
<article id="page" class="single-page">
<header class="page-header">
<div class="container">
<div class="twelve columns">
<h1><?php the_title(); ?></h1>
</div>
</div>
</header>
<section class="page-welcome">
<div class="container">
<div class="nine columns">
<?php if($post->post_excerpt) : ?>
<?php the_excerpt(); ?>
<?php else : ?>
<?php echo get_first_paragraph(); ?>
<?php endif; ?>
</div>
</div>
</section>
<section class="page-content">
<div class="container">
<div class="eight columns offset-by-one">
<?php echo get_content_without_first_paragraph(); ?>
</div>
</div>
</section>
</article>
<?php endwhile; endif; ?>
<?php get_footer(); ?>