Issues (311)

archive.php (9 issues)

Labels
Severity
1
<?php
2
/**
3
 * The template for displaying archive pages
4
 *
5
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
6
 *
7
 * @package DesignFly
8
 */
9
10
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

10
/** @scrutinizer ignore-call */ 
11
get_header();
Loading history...
11
?>
12
13
	<div id="archive-wrapper" class="content-area container">
14
		
15
		<div class="row">
16
			<div class="col-md-8">
17
				<main id="main" class="site-main">
18
19
				<?php 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

19
				<?php if ( /** @scrutinizer ignore-call */ have_posts() ) : ?>
Loading history...
20
21
					<header class="page-header">
22
						<?php
23
						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

23
						/** @scrutinizer ignore-call */ 
24
      the_archive_title( '<h1 class="page-title">', '</h1>' );
Loading history...
24
						the_archive_description( '<div class="archive-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

24
						/** @scrutinizer ignore-call */ 
25
      the_archive_description( '<div class="archive-description">', '</div>' );
Loading history...
25
						?>
26
						<hr class="bar">
27
					</header><!-- .page-header -->
28
29
					<?php
30
					/* Start the Loop */
31
					while ( have_posts() ) :
32
						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

32
						/** @scrutinizer ignore-call */ 
33
      the_post();
Loading history...
33
34
						/*
35
						* Include the Post-Type-specific template for the content.
36
						* If you want to override this in a child theme, then include a file
37
						* called content-___.php (where ___ is the Post Type name) and that will be used instead.
38
						*/
39
						get_template_part( 'template-parts/content', 'blog-template' );
0 ignored issues
show
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

39
						/** @scrutinizer ignore-call */ 
40
      get_template_part( 'template-parts/content', 'blog-template' );
Loading history...
40
41
					endwhile;
42
43
					the_posts_navigation();
0 ignored issues
show
The function the_posts_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

43
					/** @scrutinizer ignore-call */ 
44
     the_posts_navigation();
Loading history...
44
45
				else :
46
47
					get_template_part( 'template-parts/content', 'none' );
48
49
				endif;
50
		?>
51
52
				</main><!-- #main -->
53
		</div><!-- .col-md-8 -->
54
55
		<div class="col-md-4">
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
		</div>
58
	</div><!-- #archive-wrapper -->
59
60
<?php
61
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

61
/** @scrutinizer ignore-call */ 
62
get_footer();
Loading history...
62