-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpage.php
executable file
·31 lines (29 loc) · 877 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
/**
* The template for displaying all pages.
*
* Template Name: Default Page
* Description: Page template with a content container and right sidebar
*/
get_header(); ?>
<?php while ( have_posts() ) : the_post(); ?>
<section id="body">
<div class="container">
<div class="row">
<div class="span8 content">
<?php if ( function_exists( 'appifywp_breadcrumbs' ) ) appifywp_breadcrumbs(); ?>
<header class="post-title">
<h1><?php the_title();?></h1>
</header>
<?php
if ( theme_options( 'blog', 'show_feature_image' ) != 'off' && has_post_thumbnail() ) {
the_post_thumbnail('featured-image');
} ?>
<?php the_content();?>
<?php endwhile; // end of the loop. ?>
</div><!-- .span8 -->
<?php get_sidebar(); ?>
</div><!-- .container-->
</div>
</section>
<?php get_footer(); ?>