Issues (4138)

templates/archive-recipe.php (7 issues)

1
<?php
2
/**
3
 * The template for displaying Recipes Archive.
4
 *
5
 * @package lsx-health-plan
6
 */
7
8
get_header(); ?>
9
10
<?php lsx_content_wrap_before(); ?>
11
12
	<div id="primary" class="content-area <?php echo esc_attr( lsx_main_class() ); ?>">
13
14
		<?php lsx_content_before(); ?>
15
16
		<main id="main" role="main">
17
18
			<?php lsx_content_top(); ?>
19
20
			<div class="post-wrapper archive-plan">
21
				<div class="row">
22
					<?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...
23
						<?php
24
						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...
25
							the_post();
26
							?>
27
28
							<?php include LSX_HEALTH_PLAN_PATH . '/templates/content-archive-recipe.php'; ?>
29
30
						<?php endwhile; ?>
31
32
					<?php else : ?>
0 ignored issues
show
Blank line found at start of control structure
Loading history...
33
34
						<?php get_template_part( 'partials/content', 'none' ); ?>
35
36
					<?php endif; ?>
37
				</div>
38
				<?php lsx_paging_nav(); ?>
39
			</div>
40
			<?php lsx_content_bottom(); ?>
41
42
		</main><!-- #main -->
43
44
<?php lsx_content_after(); ?>
45
46
</div><!-- #primary -->
47
48
<?php lsx_content_wrap_after(); ?>
49
50
<?php //get_sidebar(); ?>
0 ignored issues
show
No space found before comment text; expected "// get_sidebar();" but found "//get_sidebar();"
Loading history...
Inline comments must end in full-stops, exclamation marks, or question marks
Loading history...
51
52
<?php
53
get_footer();
54