forked from Facens/wpbootstrap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
47 lines (36 loc) · 1.22 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
<?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(); ?>
<section class="row">
<article class="span9 columns">
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
<?php if ( is_front_page() ) { ?>
<h2 class="page-header"><?php the_title(); ?></h2>
<?php } else { ?>
<h1 class="page-header"><?php the_title(); ?></h1>
<?php } ?>
<article class="post_content" itemscope itemType="http://schema.org/BlogPosting">
<?php the_content(); ?>
</article> <!-- /post_content -->
<?php wpbootstrap_link_pages_list(array( 'before' => '<nav class="pagination pagination-centered"><ul>', 'after' => '</ul></nav>')); ?>
<?php edit_post_link( __( 'Edit', 'twentyten' ), '', '' ); ?>
<hr />
<?php comments_template( '', true ); ?>
<?php endwhile; ?>
</article>
<aside class="span3 columns">
<?php get_sidebar(); ?>
</aside>
</section>
<?php get_footer(); ?>