forked from twbs/bootstrap
-
Notifications
You must be signed in to change notification settings - Fork 136
/
page.php
executable file
·34 lines (30 loc) · 1014 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
32
33
34
<?php
/**
* Template Name: Default Page
* Description: Page template with a content container and right sidebar.
*
* @package WordPress
* @subpackage BootstrapWP
*/
get_header(); ?>
<?php while (have_posts()) : the_post(); ?>
<div class="container">
<div class="row">
<div class="span12">
<?php if (function_exists('bootstrapwp_breadcrumbs')) {
bootstrapwp_breadcrumbs();
} ?>
</div><!--/.span12 -->
</div><!--/.row -->
<header class="page-title">
<h1><?php the_title();?></h1>
</header>
<div class="row content">
<div class="span8">
<?php the_content(); ?>
<?php wp_link_pages( array('before' => '<div class="page-links">' . __('Pages:', 'bootstrapwp'), 'after' => '</div>')); ?>
<?php edit_post_link(__('Edit', 'bootstrapwp'), '<span class="edit-link">', '</span>'); ?>
<?php endwhile; // end of the loop. ?>
</div><!-- /.span8 -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>