-
Notifications
You must be signed in to change notification settings - Fork 0
/
template_fullwidth.php
59 lines (57 loc) · 1.5 KB
/
template_fullwidth.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
50
51
52
53
54
55
56
57
58
59
<?php
/*
Template Name: 100% width content
Description: A Page Template with a 100% width of content withour sidebar.
*/
?>
<?php get_header(); ?>
<div style="clear:both;"></div>
<?php if(function_exists('bcn_display'))
{
?>
<div class="breadcrumbs" xmlns:v="http://rdf.data-vocabulary.org/#">
<?php
bcn_display();
?>
</div>
<?php
}?>
<div id="container" class="row">
<div id="content" class="col-xs-12 col-md-12 col-sm-12">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div id="post-<?php the_ID(); ?>" <?php post_class(array('post','page', 'bgpng')); ?> >
<div class="title bgpng col-md-12 col-xs-12 col-sm-12" >
<h2><?php the_title(); ?></h2>
</div>
<div class="post-inner">
<div class="entry">
<?php
if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
?>
<div class="postthumb">
<?php the_post_thumbnail('thumbnail'); ?>
</div>
<?php
}
?>
<?php the_content(); ?>
<?php wp_link_pages(); ?>
<?php comments_template(); ?>
</div>
</div>
<div class="bottom bgpng">
</div>
</div><!-- //post -->
<?php endwhile;?>
<div id="nav">
<ul>
<li><?php previous_comments_link(); ?></li>
<li><?php next_comments_link(); ?></li>
</ul>
</div>
<?php else : ?>
<h2>Not found</h2>
<?php endif; ?>
</div><!-- / Content -->
</div><!-- / container -->
<?php get_footer(); ?>