1 | <?php |
||||||
2 | /** |
||||||
3 | * Archive pages |
||||||
4 | * |
||||||
5 | * Used to archive pages |
||||||
6 | * @link https://codex.wordpress.org/Template_Hierarchy |
||||||
7 | * |
||||||
8 | * @package WordPress |
||||||
9 | * @subpackage Strip |
||||||
10 | */ |
||||||
11 | |||||||
12 | get_header(); ?> |
||||||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||||||
13 | |||||||
14 | <div id="primary" class="content-area"> |
||||||
15 | <main id="main" class="site-main" role="main"> |
||||||
16 | <div class="wrap"> |
||||||
17 | <?php |
||||||
18 | 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
![]() |
|||||||
19 | |||||||
20 | <header class="page-header"> |
||||||
21 | <h1 class="page-title"> |
||||||
22 | <?php |
||||||
23 | 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
![]() |
|||||||
24 | echo '<div class="author-index shorter">'; |
||||||
25 | 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
![]() |
|||||||
26 | echo '</div>'; |
||||||
27 | } else { |
||||||
28 | 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
![]() |
|||||||
29 | 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
![]() |
|||||||
30 | } |
||||||
31 | ?> |
||||||
32 | </h1> |
||||||
33 | </header><!-- .page-header --> |
||||||
34 | |||||||
35 | <?php /* Start the Loop */ ?> |
||||||
36 | <?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
![]() |
|||||||
37 | |||||||
38 | <?php |
||||||
39 | |||||||
40 | /* |
||||||
41 | Include the Post-Format-specific template for the content. |
||||||
42 | * If you want to overload this in a child theme then include a file |
||||||
43 | * called content-___.php (where ___ is the Post Format name) and that will be used instead. |
||||||
44 | */ |
||||||
45 | 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
![]() |
|||||||
46 | ?> |
||||||
47 | |||||||
48 | <?php endwhile; ?> |
||||||
49 | |||||||
50 | <?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
![]() |
|||||||
51 | |||||||
52 | <?php else : ?> |
||||||
53 | |||||||
54 | <?php get_template_part( 'no-results', 'archive' ); ?> |
||||||
55 | |||||||
56 | <?php endif; ?> |
||||||
57 | |||||||
58 | </div><!-- .wrap --> |
||||||
59 | |||||||
60 | </main><!-- #content --> |
||||||
61 | </section><!-- #primary --> |
||||||
62 | |||||||
63 | <?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
![]() |
|||||||
64 | <?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
![]() |
|||||||
65 |