Issues (1030)

templates/archive-activity.php (9 issues)

1
<?php
2
/**
3
 * Activity Archive
4
 *
5
 * @package  tour-operator
6
 * @category activity
7
 */
8
9
get_header(); ?>
10
11
	<?php lsx_content_wrap_before(); ?>
12
13
	<div id="primary" class="content-area col-sm-12 <?php echo esc_attr( lsx_main_class() ); ?>">
14
15
		<?php lsx_content_before(); ?>
16
17
		<main id="main" class="site-main" role="main">
18
19
			<?php lsx_content_top(); ?>
20
21
			<?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...
22
23
				<div class="row lsx-to-archive-items lsx-to-archive-template-<?php echo esc_attr( tour_operator()->archive_layout ); ?> lsx-to-archive-template-image-<?php echo esc_attr( tour_operator()->archive_list_layout_image_style ); ?>">
24
25
					<?php while ( have_posts() ) : the_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...
26
27
						<div class="<?php echo esc_attr( lsx_to_archive_class( 'lsx-to-archive-item' ) ); ?>">
28
							<?php lsx_to_activity_content( 'content', 'activity' ); ?>
29
						</div>
30
31
					<?php endwhile; ?>
32
33
				</div>
34
35
			<?php else : ?>
0 ignored issues
show
Blank line found at start of control structure
Loading history...
36
37
				<?php get_template_part( 'partials/content', 'none' ); ?>
38
39
			<?php endif; ?>
40
41
			<?php lsx_content_bottom(); ?>
42
43
		</main><!-- #main -->
44
45
		<?php lsx_content_after(); ?>
46
47
	</div><!-- #primary -->
48
49
	<?php lsx_content_wrap_after(); ?>
50
51
<?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...
52
53
<?php get_footer();
0 ignored issues
show
Opening PHP tag must be on a line by itself
Loading history...
54