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

page-templates/template-sitemap.php (5 issues)

1
<?php
2
/**
3
 * Sitemap Template.
4
 *
5
 * Template Name: Sitemap
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 <?php echo esc_attr( lsx_main_class() ); ?>">
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 lsx_entry_before(); ?>
31
32
				<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
33
34
					<?php lsx_entry_top(); ?>
35
36
					<div class="entry-content">
37
						<?php lsx_sitemap_loops(); ?>
38
					</div><!-- .entry-content -->
39
40
					<?php lsx_entry_bottom(); ?>
41
42
				</article><!-- #post-## -->
43
44
				<?php lsx_entry_after(); ?>
45
46
			<?php endwhile; ?>
47
48
		<?php endif; ?>
49
50
		<?php lsx_content_bottom(); ?>
51
52
	</main><!-- #main -->
53
54
	<?php lsx_content_after(); ?>
55
56
</div><!-- #primary -->
57
58
<?php lsx_content_wrap_after(); ?>
59
60
<?php get_sidebar( 'sitemap' ); ?>
61
62
<?php
63
get_footer();
64