SilentComics /
Strip
| 1 | <?php |
||||||
| 2 | /** |
||||||
| 3 | * The Template for displaying all single posts |
||||||
| 4 | * |
||||||
| 5 | * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post |
||||||
| 6 | * |
||||||
| 7 | * @package WordPress |
||||||
| 8 | * @subpackage Strip |
||||||
| 9 | */ |
||||||
| 10 | |||||||
| 11 | get_header(); ?> |
||||||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||||||
| 12 | |||||||
| 13 | <section id="primary"> |
||||||
| 14 | <main id="content" role="main"> |
||||||
| 15 | |||||||
| 16 | <?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
Loading history...
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...
|
|||||||
| 17 | |||||||
| 18 | <?php 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
Loading history...
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...
|
|||||||
| 19 | |||||||
| 20 | <?php |
||||||
| 21 | // If comments are open or we have at least one comment, load up the comment template. |
||||||
| 22 | 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
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...
|
|||||||
| 23 | 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...
|
|||||||
| 24 | endif; |
||||||
| 25 | |||||||
| 26 | the_post_navigation( array( |
||||||
|
0 ignored issues
–
show
The function
the_post_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
Loading history...
|
|||||||
| 27 | 'prev_text' => '<span class="screen-reader-text">' . __( 'Previous Post', 'strip' ) . '</span><span aria-hidden="true" class="nav-subtitle">' . esc_html_x( '←', 'Previous post link', 'strip' ) . '</span> %title</span>', |
||||||
|
0 ignored issues
–
show
The function
__ 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
esc_html_x 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...
|
|||||||
| 28 | 'next_text' => '<span class="screen-reader-text">' . __( 'Next Post', 'strip' ) . '</span> %title <span aria-hidden="true" class="nav-subtitle">' . esc_html_x( '→', 'Next post link', 'strip' ) . '</span> </span>', |
||||||
|
0 ignored issues
–
show
|
|||||||
| 29 | ) ); |
||||||
| 30 | |||||||
| 31 | endwhile; // end of the loop. ?> |
||||||
| 32 | |||||||
| 33 | </main><!-- #content --> |
||||||
| 34 | </section><!-- #primary --> |
||||||
| 35 | |||||||
| 36 | <br><br> |
||||||
| 37 | |||||||
| 38 | <?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
Loading history...
|
|||||||
| 39 |