1 | <?php |
||||||
2 | /** |
||||||
3 | * The template for displaying all pages |
||||||
4 | * |
||||||
5 | * This is the template that displays all pages by default. |
||||||
6 | * Please note that this is the WordPress construct of pages |
||||||
7 | * and that other 'pages' on your WordPress site will use a |
||||||
8 | * different template. |
||||||
9 | * |
||||||
10 | * @link https://codex.wordpress.org/Template_Hierarchy |
||||||
11 | * |
||||||
12 | * @package Strip |
||||||
13 | */ |
||||||
14 | |||||||
15 | get_header(); ?> |
||||||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||||||
16 | |||||||
17 | <div id="primary" class="content-area"> |
||||||
18 | <div id="content" class="site-content" role="main"> |
||||||
19 | |||||||
20 | <?php while ( 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
![]() |
|||||||
21 | 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
![]() |
|||||||
22 | |||||||
23 | <?php get_template_part( 'content', 'page' ); ?> |
||||||
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
![]() |
|||||||
24 | |||||||
25 | <?php |
||||||
26 | // If comments are open or we have at least one comment, load up the comment template. |
||||||
27 | 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
![]() 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
![]() |
|||||||
28 | 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
![]() |
|||||||
29 | } |
||||||
30 | ?> |
||||||
31 | |||||||
32 | <?php endwhile; // end of the loop. ?> |
||||||
33 | |||||||
34 | </div><!-- #content --> |
||||||
35 | </div><!-- #primary --> |
||||||
36 | |||||||
37 | <?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
![]() |
|||||||
38 |