Tan-007 /
DesignFly
| 1 | <?php |
||||||||
| 2 | /** |
||||||||
| 3 | * Template part for displaying portfolio items |
||||||||
| 4 | * |
||||||||
| 5 | * @package DesignFly |
||||||||
| 6 | */ |
||||||||
| 7 | |||||||||
| 8 | ?> |
||||||||
| 9 | |||||||||
| 10 | <div id="portfolio-item-<?php the_ID(); ?>" <?php post_class(); ?>> |
||||||||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
The function
the_ID 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...
|
|||||||||
| 11 | |||||||||
| 12 | <?php |
||||||||
| 13 | if ( post_password_required() || is_attachment() || ! has_post_thumbnail() ) { |
||||||||
|
0 ignored issues
–
show
The function
post_password_required 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
has_post_thumbnail 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
is_attachment 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...
|
|||||||||
| 14 | return; |
||||||||
| 15 | } |
||||||||
| 16 | |||||||||
| 17 | if ( is_singular( 'df-portfolio' ) ) : |
||||||||
|
0 ignored issues
–
show
The function
is_singular 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...
|
|||||||||
| 18 | ?> |
||||||||
| 19 | |||||||||
| 20 | <header class="entry-header"> |
||||||||
| 21 | <div class="entry-title"> |
||||||||
| 22 | <?php the_title(); ?> |
||||||||
|
0 ignored issues
–
show
The function
the_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
Loading history...
|
|||||||||
| 23 | </div> |
||||||||
| 24 | |||||||||
| 25 | <div class="entry-meta"> |
||||||||
| 26 | <?php |
||||||||
| 27 | designfly_posted_by(); |
||||||||
| 28 | designfly_posted_on(); |
||||||||
| 29 | ?> |
||||||||
| 30 | |||||||||
| 31 | <span class="comments"><?php echo get_comments_number(); ?> Comment(s) </span> |
||||||||
|
0 ignored issues
–
show
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...
|
|||||||||
| 32 | </div><!-- .entry-meta --> |
||||||||
| 33 | |||||||||
| 34 | <hr class="bar"/> |
||||||||
| 35 | |||||||||
| 36 | </header> |
||||||||
| 37 | |||||||||
| 38 | <div class="post-thumbnail"> |
||||||||
| 39 | <?php the_post_thumbnail(); ?> |
||||||||
|
0 ignored issues
–
show
The function
the_post_thumbnail 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 | |||||||||
| 42 | <div class="entry-content"> |
||||||||
| 43 | <?php the_content(); ?> |
||||||||
|
0 ignored issues
–
show
The function
the_content 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...
|
|||||||||
| 44 | </div> |
||||||||
| 45 | <?php |
||||||||
| 46 | wp_link_pages( array( |
||||||||
|
0 ignored issues
–
show
The function
wp_link_pages 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...
|
|||||||||
| 47 | 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'designfly' ), |
||||||||
|
0 ignored issues
–
show
The function
esc_html__ 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...
|
|||||||||
| 48 | 'after' => '</div>', |
||||||||
| 49 | ) ); |
||||||||
| 50 | ?> |
||||||||
| 51 | <?php else: ?> |
||||||||
| 52 | |||||||||
| 53 | <div class="view-image"> |
||||||||
| 54 | <span class="dashicons dashicons-instagram"></span> |
||||||||
| 55 | <span>View Image</span> |
||||||||
| 56 | </div> |
||||||||
| 57 | <a class="post-thumbnail" href="<?php the_permalink(); ?>" aria-hidden="true" tabindex="-1"> |
||||||||
|
0 ignored issues
–
show
The function
the_permalink 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...
|
|||||||||
| 58 | <?php the_post_thumbnail(); ?> |
||||||||
| 59 | </a> |
||||||||
| 60 | |||||||||
| 61 | <div class="post-title"> |
||||||||
| 62 | <a aia-hidden="true" href="<?php the_permalink(); ?>" tabindex="-1"> |
||||||||
| 63 | <?php the_title(); ?> |
||||||||
| 64 | </a> |
||||||||
| 65 | </div> |
||||||||
| 66 | |||||||||
| 67 | <?php |
||||||||
| 68 | endif; // End is_singular(). |
||||||||
| 69 | ?> |
||||||||
| 70 | |||||||||
| 71 | </div><!-- #post-<?php the_ID(); ?> --> |
||||||||
| 72 |