Passed
Push — master ( e51c9a...41921a )
by Chris
04:16
created

page-templates/template-full-width.php (7 issues)

1
<?php
2
/**
3
 * Full Width Template.
4
 *
5
 * Template Name: Full Width
6
 *
7
 * @package    lsx
8
 * @subpackage template
9
 */
10
11
get_header(); ?>
12
13
<?php lsx_content_wrap_before(); ?>
14
15
<div id="primary" class="content-area col-sm-12">
16
17
	<?php lsx_content_before(); ?>
18
19
	<main id="main" class="site-main" role="main">
20
21
		<?php lsx_content_top(); ?>
22
23
		<?php if ( have_posts() ) : ?>
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
Blank line found at start of control structure
Loading history...
24
25
			<?php
26
			while ( have_posts() ) :
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
27
				the_post();
28
				?>
29
30
				<?php get_template_part( 'partials/content', 'page' ); ?>
31
32
			<?php endwhile; ?>
33
34
		<?php endif; ?>
35
36
		<?php lsx_content_bottom(); ?>
37
38
		<?php
39
		if ( comments_open() ) {
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
40
			comments_template();
41
		}
42
		?>
43
44
	</main><!-- #main -->
45
46
	<?php lsx_content_after(); ?>
47
48
</div><!-- #primary -->
49
50
<?php lsx_content_wrap_after(); ?>
51
52
<?php
53
get_footer();
54