-
Notifications
You must be signed in to change notification settings - Fork 0
/
page_full_width.php
47 lines (43 loc) · 1.16 KB
/
page_full_width.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 main template file.
*
* This is the most generic template file in a WordPress theme and one of the
* two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* For example, it puts together the home page when no home.php file exists.
*
* Learn more: http://codex.wordpress.org/Template_Hierarchy
*
* @package WordPress
* @subpackage Wp_Bootstrap
* @since Wp Bootstrap 1.0
*/
/* Template Name: Full Width Page*/
// Gets page_full_width.php
get_header();
?>
<div class="container">
<!-- Example row of columns -->
<div class="row well containerShadow">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 well well-sm">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<h1><a href="<?php the_permalink(); ?>">
<?php the_title(); ?>
</a></h1>
<?php edit_post_link(); ?>
<hr>
<?php the_content(); ?>
<hr>
</div>
<?php endwhile; else: ?>
<p>
<?php _e('Sorry, this page does not exist.'); ?>
</p>
<?php endif; ?>
</div>
</div>
<?php
// Gets footer.php
get_footer();
?>