Tan-007 /
DesignFly
| 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 may use a |
||||||
| 8 | * different template. |
||||||
| 9 | * |
||||||
| 10 | * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ |
||||||
| 11 | * |
||||||
| 12 | * @package DesignFly |
||||||
| 13 | */ |
||||||
| 14 | |||||||
| 15 | get_header(); |
||||||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||||||
| 16 | ?> |
||||||
| 17 | |||||||
| 18 | <div id="primary" class="content-area container"> |
||||||
| 19 | <main id="page-wrapper" class="site-main row"> |
||||||
| 20 | <div class="col-md-8"> |
||||||
| 21 | |||||||
| 22 | <?php |
||||||
| 23 | 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
Loading history...
|
|||||||
| 24 | 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
Loading history...
|
|||||||
| 25 | |||||||
| 26 | get_template_part( 'template-parts/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
Loading history...
|
|||||||
| 27 | |||||||
| 28 | // If comments are open or we have at least one comment, load up the comment template. |
||||||
| 29 | if ( comments_open() || 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
Loading history...
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
Loading history...
|
|||||||
| 30 | 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
Loading history...
|
|||||||
| 31 | endif; |
||||||
| 32 | |||||||
| 33 | endwhile; // End of the loop. |
||||||
| 34 | ?> |
||||||
| 35 | |||||||
| 36 | </div> |
||||||
| 37 | |||||||
| 38 | <div class="col-md-4"> |
||||||
| 39 | <?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
Loading history...
|
|||||||
| 40 | </div> |
||||||
| 41 | </main><!-- #main --> |
||||||
| 42 | </div><!-- #primary --> |
||||||
| 43 | |||||||
| 44 | <?php |
||||||
| 45 | 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
Loading history...
|
|||||||
| 46 |