-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpage.php
executable file
·25 lines (23 loc) · 825 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
<?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(); ?>
<?php leonardofs_hero($post->ID) ?>
<article class="container post">
<header>
<h2 class="offset1 span page-title"><?php the_title();?></h2>
</header>
<section 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. ?>
</section><!-- /.span8 -->
</article> <!-- /.container -->
<?php get_footer(); ?>