Issues (631)

single.php (12 issues)

Labels
Severity
1
<?php
2
/**
3
 * The Template for displaying all single posts
4
 *
5
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
6
 *
7
 * @package WordPress
8
 * @subpackage Strip
9
 */
10
11
get_header(); ?>
0 ignored issues
show
The function get_header 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

11
/** @scrutinizer ignore-call */ 
12
get_header(); ?>
Loading history...
12
13
		<section id="primary">
14
			<main id="content" role="main">
15
16
		<?php while ( have_posts() ) : the_post(); ?>
0 ignored issues
show
The function the_post 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

16
		<?php while ( have_posts() ) : /** @scrutinizer ignore-call */ the_post(); ?>
Loading history...
The function have_posts 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

16
		<?php while ( /** @scrutinizer ignore-call */ have_posts() ) : the_post(); ?>
Loading history...
17
18
			<?php get_template_part( 'content', get_post_format() ); ?>
0 ignored issues
show
The function get_post_format 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

18
			<?php get_template_part( 'content', /** @scrutinizer ignore-call */ get_post_format() ); ?>
Loading history...
The function get_template_part 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

18
			<?php /** @scrutinizer ignore-call */ get_template_part( 'content', get_post_format() ); ?>
Loading history...
19
20
			<?php
21
				// If comments are open or we have at least one comment, load up the comment template.
22
			if ( comments_open() || '0' !== get_comments_number() ) :
0 ignored issues
show
The function comments_open 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

22
			if ( /** @scrutinizer ignore-call */ comments_open() || '0' !== get_comments_number() ) :
Loading history...
The function get_comments_number 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

22
			if ( comments_open() || '0' !== /** @scrutinizer ignore-call */ get_comments_number() ) :
Loading history...
23
				comments_template();
0 ignored issues
show
The function comments_template 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
				/** @scrutinizer ignore-call */ 
24
    comments_template();
Loading history...
24
			endif;
25
26
			the_post_navigation( array(
0 ignored issues
show
The function the_post_navigation 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

26
			/** @scrutinizer ignore-call */ 
27
   the_post_navigation( array(
Loading history...
27
				'prev_text' => '<span class="screen-reader-text">' . __( 'Previous Post', 'strip' ) . '</span><span aria-hidden="true" class="nav-subtitle">' . esc_html_x( '&larr;', 'Previous post link', 'strip' ) . '</span> %title</span>',
0 ignored issues
show
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

27
				'prev_text' => '<span class="screen-reader-text">' . /** @scrutinizer ignore-call */ __( 'Previous Post', 'strip' ) . '</span><span aria-hidden="true" class="nav-subtitle">' . esc_html_x( '&larr;', 'Previous post link', 'strip' ) . '</span> %title</span>',
Loading history...
The function esc_html_x 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

27
				'prev_text' => '<span class="screen-reader-text">' . __( 'Previous Post', 'strip' ) . '</span><span aria-hidden="true" class="nav-subtitle">' . /** @scrutinizer ignore-call */ esc_html_x( '&larr;', 'Previous post link', 'strip' ) . '</span> %title</span>',
Loading history...
28
				'next_text' => '<span class="screen-reader-text">' . __( 'Next Post', 'strip' ) . '</span> %title <span aria-hidden="true" class="nav-subtitle">' . esc_html_x( '&rarr;', 'Next post link', 'strip' ) . '</span> </span>',
29
			) );
30
31
		endwhile; // end of the loop. ?>
32
33
		</main><!-- #content -->
34
	</section><!-- #primary -->
35
36
<br><br>
37
38
<?php get_footer(); ?>
0 ignored issues
show
The function get_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

38
<?php /** @scrutinizer ignore-call */ get_footer(); ?>
Loading history...
39