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
Bug
introduced
by
![]() |
|||||||
12 | |||||||
13 | <div id="primary" class="content-area"> |
||||||
14 | <main id="main" class="site-main" role="main"> |
||||||
15 | <div class="wrap"> |
||||||
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
![]() |
|||||||
18 | |||||||
19 | <header class="page-header"> |
||||||
20 | <h1 class="page-title"> |
||||||
21 | <?php |
||||||
22 | if ( is_author() && get_the_author_meta( 'description' ) ) { |
||||||
0 ignored issues
–
show
The function
is_author 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
![]() The function
get_the_author_meta 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
![]() |
|||||||
23 | echo '<div class="author-index shorter">'; |
||||||
24 | get_template_part( 'inc/author','box' ); |
||||||
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
![]() |
|||||||
25 | echo '</div>'; |
||||||
26 | } else { |
||||||
27 | 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
![]() |
|||||||
28 | 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
![]() |
|||||||
29 | } |
||||||
30 | ?> |
||||||
31 | </h1> |
||||||
32 | </header><!-- .page-header --> |
||||||
33 | |||||||
34 | <?php /* Start the Loop */ ?> |
||||||
35 | <?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
![]() |
|||||||
36 | |||||||
37 | <?php |
||||||
38 | |||||||
39 | /* |
||||||
40 | Include the Post-Format-specific template for the content. |
||||||
41 | * If you want to overload this in a child theme then include a file |
||||||
42 | * called content-___.php (where ___ is the Post Format name) and that will be used instead. |
||||||
43 | */ |
||||||
44 | 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
![]() |
|||||||
45 | ?> |
||||||
46 | |||||||
47 | <?php endwhile; ?> |
||||||
48 | |||||||
49 | <?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
![]() |
|||||||
50 | |||||||
51 | <?php else : ?> |
||||||
52 | |||||||
53 | <?php get_template_part( 'no-results', 'archive' ); ?> |
||||||
54 | |||||||
55 | <?php endif; ?> |
||||||
56 | |||||||
57 | </div><!-- .wrap --> |
||||||
58 | |||||||
59 | </main><!-- #content --> |
||||||
60 | </section><!-- #primary --> |
||||||
61 | |||||||
62 | <?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
![]() |
|||||||
63 | <?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
![]() |
|||||||
64 |