Issues (1223)

templates/single-team.php (7 issues)

1
<?php
2
/**
3
 * The template for displaying a single team member.
4
 *
5
 * @package lsx-team
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" class="site-main">
17
18
		<?php lsx_content_top(); ?>
19
20
		<?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...
21
22
			<?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...
23
24
				<?php include( LSX_TEAM_PATH . '/templates/content-single-team.php' ); ?>
0 ignored issues
show
"include" is a statement not a function; no parentheses are required
Loading history...
25
26
			<?php endwhile; ?>
27
28
		<?php endif; ?>
29
30
		<?php lsx_content_bottom(); ?>
31
32
	</main><!-- #main -->
33
34
	<?php lsx_content_after(); ?>
35
36
</div><!-- #primary -->
37
38
<?php lsx_content_wrap_after(); ?>
39
40
<?php get_sidebar(); ?>
41
42
<?php get_footer();
0 ignored issues
show
Opening PHP tag must be on a line by itself
Loading history...
43