-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathtemplate-fullwidth.php
More file actions
40 lines (36 loc) · 1.08 KB
/
template-fullwidth.php
File metadata and controls
40 lines (36 loc) · 1.08 KB
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
<?php
/**
* Template Name: Full-Width Template
*
* The template for rendering pages without sidebars.
*
* @package Standard
* @since 3.0
* @version 3.1
*/
?>
<?php get_header(); ?>
<div id="wrapper">
<div class="container">
<div class="row">
<div id="main" class="span12 clearfix" role="main">
<?php get_template_part( 'breadcrumbs' ); ?>
<?php if ( have_posts() ) { ?>
<?php while ( have_posts() ) { ?>
<?php the_post(); ?>
<div id="post-<?php the_ID(); ?> format-standard" <?php post_class( 'post' ); ?>>
<div class="post-header clearfix">
<h1 class="post-title entry-title"><?php the_title(); ?></h1>
</div> <!-- /.post-header -->
<div id="content-<?php the_ID(); ?>" class="entry-content">
<?php the_content(); ?>
</div><!-- /.entry-content -->
</div> <!-- /#post -->
<?php } // end while ?>
<?php } // end if ?>
<?php comments_template( '', true ); ?>
</div><!-- /#main -->
</div><!--/row -->
</div><!-- /container -->
</div> <!-- /#wrapper -->
<?php get_footer(); ?>