-
Notifications
You must be signed in to change notification settings - Fork 32
/
page.php
49 lines (38 loc) · 1.13 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
/**
* The template for displaying all pages.
*
* This is the template that displays all pages by default.
* Please note that this is the wordpress construct of pages
* and that other 'pages' on your wordpress site will use a
* different template.
*
* @package WordPress
* @subpackage wpbootstrap
* @since wpbootstrap 0.1
*/
get_header(); ?>
<div class="row">
<div class="span11 columns">
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<div class="page-header">
<?php if ( is_front_page() ) { ?>
<h2><?php the_title(); ?></h2>
<?php } else { ?>
<h1><?php the_title(); ?></h1>
<?php } ?>
</div> <!-- /page-header -->
<div class="post_content">
<?php the_content(); ?>
</div> <!-- /post_content -->
<?php wp_link_pages( array( 'before' => '' . __( 'Pages:', 'twentyten' ), 'after' => '' ) ); ?>
<?php edit_post_link( __( 'Edit', 'twentyten' ), '', '' ); ?>
<hr />
<?php comments_template( '', true ); ?>
<?php endwhile; ?>
</div>
<div class="span5 columns">
<?php get_sidebar(); ?>
</div>
</div>
<?php get_footer(); ?>