Passed
Push — master ( 1b85a4...393c08 )
by SILENT
01:25
created

archive.php (10 issues)

Labels
Severity
1
<?php
2
/**
3
 * The template for displaying Archive pages
4
 *
5
 * @link https://codex.wordpress.org/Template_Hierarchy
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
<div id="primary" class="content-area">
14
	<main id="main" class="site-main" role="main">
15
16
	<?php
17
	if ( have_posts() ) : ?>
0 ignored issues
show
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

17
	if ( /** @scrutinizer ignore-call */ have_posts() ) : ?>
Loading history...
18
19
		<header class="page-header">
20
			<div class="wrap">
21
			<?php
22
				the_archive_title( '<h1 class="page-title">', '</h1>' );
0 ignored issues
show
The function the_archive_title 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
				/** @scrutinizer ignore-call */ 
23
    the_archive_title( '<h1 class="page-title">', '</h1>' );
Loading history...
23
				the_archive_description( '<div class="taxonomy-description">', '</div>' );
0 ignored issues
show
The function the_archive_description 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
    the_archive_description( '<div class="taxonomy-description">', '</div>' );
Loading history...
24
			?>
25
				</div><!-- .wrap -->
26
			</header><!-- .page-header -->
27
28
			<?php /* Start the Loop */ ?>
29
			<?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

29
			<?php while ( have_posts() ) : /** @scrutinizer ignore-call */ the_post(); ?>
Loading history...
30
31
				<?php
32
33
					/*
34
					 Include the Post-Format-specific template for the content.
35
					 * If you want to overload this in a child theme then include a file
36
					 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
37
					 */
38
					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

38
					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

38
					/** @scrutinizer ignore-call */ 
39
     get_template_part( 'content', get_post_format() );
Loading history...
39
				?>
40
41
			<?php endwhile; ?>
42
43
			<div class="wrap">
44
					<?php the_posts_pagination(); ?>
0 ignored issues
show
The function the_posts_pagination 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

44
					<?php /** @scrutinizer ignore-call */ the_posts_pagination(); ?>
Loading history...
45
	</div>
46
47
		<?php else : ?>
48
49
			<?php get_template_part( 'no-results', 'archive' ); ?>
50
51
		<?php endif; ?>
52
53
		</main><!-- #content -->
54
	</section><!-- #primary -->
55
56
<?php get_sidebar(); ?>
0 ignored issues
show
The function get_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

56
<?php /** @scrutinizer ignore-call */ get_sidebar(); ?>
Loading history...
57
<?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

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