Passed
Push — master ( 86dfed...3aa001 )
by Warwick
05:45
created

footer.php (8 issues)

1
<?php
2
/**
3
 * The template for displaying the footer.
4
 *
5
 * Contains the closing of the #content div and all content after
6
 *
7
 * @package lsx
8
 */
9
10
?>
11
12
			</div><!-- .content -->
13
		</div><!-- .wrap -->
14
15
		<?php lsx_footer_before(); ?>
16
17
		<footer id="colophon" class="content-info" role="contentinfo">
18
			<div class="container">
19
				<div class="row">
20
					<div class="col-sm-12">
21
						<?php lsx_footer_top(); ?>
22
23
						<p class="credit <?php if ( has_nav_menu( 'social' ) || has_nav_menu( 'footer' ) ) echo 'credit-float'; ?>">
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
24
							<?php
25
								printf(
26
									/* Translators: 1: current year, 2: blog name */
27
									esc_html__( '&#169; %1$s %2$s All Rights Reserved', 'lsx' ),
28
									esc_html( date_i18n( 'Y' ) ),
29
									esc_html( get_bloginfo( 'name' ) )
30
								);
31
								?>
32
33
							<?php if ( apply_filters( 'lsx_credit_link', true ) ) : ?>
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
34
								<?php
35
									printf(
36
										/* Translators: 1: theme name, 2: author name and link */
37
										esc_html__( ' | %1$s is a WordPress theme developed by %2$s.', 'lsx' ),
38
										'LSX',
39
										'<a href="https://www.lsdev.biz/" rel="nofollow noreferrer noopener" title="LightSpeed WordPress Development - Unlocking the full value of your business, online" rel="author nofollow noopener noreferrer" >LightSpeed</a>'
40
									);
41
								?>
42
							<?php endif; ?>
43
						</p>
44
45
						<?php if ( has_nav_menu( 'social' ) ) : ?>
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
46
							<nav id="social-navigation" class="social-navigation">
47
								<?php
48
									wp_nav_menu(
49
										array(
50
											'theme_location' => 'social',
51
											'depth' => 1,
52
										)
53
									);
54
								?>
55
							</nav><!-- .social-navigation -->
56
						<?php endif; ?>
57
58
						<?php if ( has_nav_menu( 'footer' ) ) : ?>
0 ignored issues
show
Expected 0 spaces after opening bracket; 1 found
Loading history...
Expected 0 spaces before closing bracket; 1 found
Loading history...
59
							<nav id="footer-navigation" class="footer-navigation">
60
								<?php
61
									wp_nav_menu(
62
										array(
63
											'theme_location' => 'footer',
64
											'depth' => 1,
65
										)
66
									);
67
								?>
68
							</nav><!-- .footer-navigation -->
69
						<?php endif; ?>
70
71
						<?php lsx_footer_bottom(); ?>
72
					</div>
73
				</div>
74
			</div>
75
		</footer>
76
77
		<?php lsx_footer_after(); ?>
78
		<?php lsx_body_bottom(); ?>
79
		<?php wp_footer(); ?>
80
	</body>
81
</html>
82