Issues (1082)

templates/content-role.php (9 issues)

1
<?php
2
/**
3
 * Role Taxonomy Type Part
4
 *
5
 * @package  tour-operator
6
 * @category role
7
 */
0 ignored issues
show
There must be exactly one blank line after the file comment
Loading history...
8
?>
9
10
<?php
11
	$description = term_description();
12
	if ( ! empty( $description ) ) :
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
13
?>
14
15
	<div class="lsx-to-archive-header row">
16
		<div class="col-xs-12 <?php echo lsx_to_has_enquiry_contact() ? 'col-sm-12 col-md-6' : '' ?> lsx-to-archive-description">
0 ignored issues
show
Inline PHP statement must end with a semicolon
Loading history...
17
			<?php echo wp_kses_post( $description ); ?>
18
		</div>
19
20
		<?php if ( lsx_to_has_enquiry_contact() ) : ?>
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
21
			<div class="col-xs-12 col-sm-12 col-md-6">
22
				<div class="lsx-to-contact-widget">
23
					<?php
24
						if ( function_exists( 'lsx_to_has_team_member' ) && lsx_to_has_team_member() ) {
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
							lsx_to_team_member_panel( '<div class="lsx-to-contact">', '</div>' );
26
						} else {
27
							lsx_to_enquiry_contact( '<div class="lsx-to-contact">', '</div>' );
28
						}
29
30
						lsx_to_enquire_modal();
31
					?>
32
				</div>
33
			</div>
34
		<?php endif ?>
35
	</div>
36
37
<?php endif ?>
0 ignored issues
show
Closing brace indented incorrectly; expected 4 spaces, found 0
Loading history...
38