-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtemplate-fullwidth.php
More file actions
33 lines (31 loc) · 910 Bytes
/
template-fullwidth.php
File metadata and controls
33 lines (31 loc) · 910 Bytes
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
<?php
/**
* Template Name: Full-Width Template
*
* The template for rendering pages without sidebars.
*
* @package Archetype
* @version 1.0
* @since 1.0
*/
?>
<?php get_header(); ?>
<div id="main" class="col-md-12 clearfix" role="main">
<?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">
<?php if ( !is_front_page() ) { ?>
<h1 class="post-title entry-title"><?php the_title(); ?></h1>
<?php } ?>
</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 -->
<?php get_footer(); ?>