Passed
Push — add/cover-template-update ( ca0bef...ba8c8e )
by Virginia
09:49 queued 04:07
created

page-templates/template-cover.php (2 issues)

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