Issues (631)

footer.php (10 issues)

Labels
Severity
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 WordPress
8
 * @subpackage Strip
9
 */
10
11
	?>
12
	</div><!-- #content -->
13
14
	<footer id="colophon" class="site-footer" role="contentinfo">
15
16
<div class="entry-wrap wrap clear">
17
	<?php if ( is_active_sidebar( 'first-footer-widget' ) || is_active_sidebar( 'second-footer-widget' ) || is_active_sidebar( 'third-footer-widget' ) || is_active_sidebar( 'fourth-footer-widget' ) ) : ?>
0 ignored issues
show
The function is_active_sidebar was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

17
	<?php if ( /** @scrutinizer ignore-call */ is_active_sidebar( 'first-footer-widget' ) || is_active_sidebar( 'second-footer-widget' ) || is_active_sidebar( 'third-footer-widget' ) || is_active_sidebar( 'fourth-footer-widget' ) ) : ?>
Loading history...
18
	<div id="secondary" class="widget-area clear" role="complementary">
19
		<div class="widget-area-wrapper">
20
	<?php do_action( 'before_sidebar' ); ?>
0 ignored issues
show
The function do_action was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

20
	<?php /** @scrutinizer ignore-call */ do_action( 'before_sidebar' ); ?>
Loading history...
21
	<?php if ( is_active_sidebar( 'first-footer-widget' ) ) : ?>
22
				<div class="footer-widget-1">
23
		<?php dynamic_sidebar( 'first-footer-widget' ); ?>
0 ignored issues
show
The function dynamic_sidebar was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

23
		<?php /** @scrutinizer ignore-call */ dynamic_sidebar( 'first-footer-widget' ); ?>
Loading history...
24
				</div>
25
	<?php endif; ?>
26
	<?php if ( is_active_sidebar( 'second-footer-widget' ) ) : ?>
27
				<div class="footer-widget-2">
28
		<?php dynamic_sidebar( 'second-footer-widget' ); ?>
29
				</div>
30
	<?php endif; ?>
31
	<?php if ( is_active_sidebar( 'third-footer-widget' ) ) : ?>
32
				<div class="footer-widget-3">
33
		<?php dynamic_sidebar( 'third-footer-widget' ); ?>
34
				</div>
35
	<?php endif; ?>
36
	<?php if ( is_active_sidebar( 'fourth-footer-widget' ) ) : ?>
37
				<div class="footer-widget-4">
38
		<?php dynamic_sidebar( 'fourth-footer-widget' ); ?>
39
				</div>
40
	<?php endif; ?>
41
		</div><!-- .widget-area-wrapper -->
42
	</div><!-- #secondary -->
43
<?php endif; // is_active_sidebar. ?>
44
			</div><!-- .entry-wrap -->
45
46
		<div class="site-info">
47
			&copy; <span class="site-name"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span> <?php
0 ignored issues
show
The function bloginfo was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

47
			&copy; <span class="site-name"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php /** @scrutinizer ignore-call */ bloginfo( 'name' ); ?></a></span> <?php
Loading history...
The function esc_url was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

47
			&copy; <span class="site-name"><a href="<?php echo /** @scrutinizer ignore-call */ esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span> <?php
Loading history...
The function home_url was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

47
			&copy; <span class="site-name"><a href="<?php echo esc_url( /** @scrutinizer ignore-call */ home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span> <?php
Loading history...
48
			$from_year = 2016;
49
			$this_year = (int) date( 'Y' );
50
			echo esc_html( $from_year . (($from_year !== $this_year) ? '-' . $this_year : '') );?>
0 ignored issues
show
The function esc_html was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

50
			echo /** @scrutinizer ignore-call */ esc_html( $from_year . (($from_year !== $this_year) ? '-' . $this_year : '') );?>
Loading history...
51
			<span class="sep"> | </span>
52
	<?php do_action( 'strip_credits' ); ?>
53
				<a href="<?php echo esc_url( __( 'https://github.com/SilentComics/Strip', 'strip' ) ); ?>"><?php printf( esc_html__( 'Theme: %1$s by %2$s.', 'strip' ), 'Strip', 'SILENT COMICS' ); ?></a>
0 ignored issues
show
The function esc_html__ was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

53
				<a href="<?php echo esc_url( __( 'https://github.com/SilentComics/Strip', 'strip' ) ); ?>"><?php printf( /** @scrutinizer ignore-call */ esc_html__( 'Theme: %1$s by %2$s.', 'strip' ), 'Strip', 'SILENT COMICS' ); ?></a>
Loading history...
The function __ was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

53
				<a href="<?php echo esc_url( /** @scrutinizer ignore-call */ __( 'https://github.com/SilentComics/Strip', 'strip' ) ); ?>"><?php printf( esc_html__( 'Theme: %1$s by %2$s.', 'strip' ), 'Strip', 'SILENT COMICS' ); ?></a>
Loading history...
54
		</div><!-- .site-info -->
55
	</footer><!-- #colophon -->
56
</div><!-- #page -->
57
58
<?php wp_footer(); ?>
0 ignored issues
show
The function wp_footer was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

58
<?php /** @scrutinizer ignore-call */ wp_footer(); ?>
Loading history...
59
60
</body>
61
</html>
62