-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpage.php
More file actions
32 lines (24 loc) · 753 Bytes
/
page.php
File metadata and controls
32 lines (24 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
<?php
/* The generic page template that powers basic, static pages. */
get_header(); ?>
<div class="container" id="main">
<div class="row">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<h1 class="col-md-12 page-title"><?php the_title(); ?></h1>
<article class="page col-md-8" id="post-<?php the_ID(); ?>">
<div class="entry">
<?php the_content(); ?>
</div>
</article>
<?php endwhile; else: ?>
<article class="page col-md-8 not-found">
<div class="entry">
<p class="lead"><?php _e('Sorry, this page does not exist. Try a search.'); ?></p>
<?php get_search_form(); ?>
</div>
</article>
<?php endif; ?>
<?php get_sidebar(); ?>
</div> <!-- .row -->
</div> <!-- .container -->
<?php get_footer(); ?>