1 | <div class="block"> |
||||||
2 | <div class="block__heading"> |
||||||
3 | <h1><?= esc_html($fields['heading']) ?></h1> |
||||||
0 ignored issues
–
show
Bug
introduced
by
![]() |
|||||||
4 | </div> |
||||||
5 | <div class="block__image"> |
||||||
6 | <?= wp_get_attachment_image($fields['image'], 'full') ?> |
||||||
0 ignored issues
–
show
The function
wp_get_attachment_image 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
![]() |
|||||||
7 | </div> |
||||||
8 | <div class="block__content"> |
||||||
9 | <?= apply_filters('the_content', $fields['content']) ?> |
||||||
0 ignored issues
–
show
The function
apply_filters 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
![]() |
|||||||
10 | </div> |
||||||
11 | <?php if ($associations->have_posts()) : ?> |
||||||
12 | <div class="block__associations"> |
||||||
13 | <ul class="block__associations-list"> |
||||||
14 | <?php while ($associations->have_posts()) : $associations->the_post(); ?> |
||||||
15 | <li class="block__associations-item"> |
||||||
16 | <a class="block__associations-link" href="<?= esc_url(get_the_permalink()) ?>"> |
||||||
0 ignored issues
–
show
The function
get_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
![]() The function
esc_url 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
![]() |
|||||||
17 | <?= esc_html(get_the_title()) ?> |
||||||
0 ignored issues
–
show
The function
get_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
![]() |
|||||||
18 | </a> |
||||||
19 | </li> |
||||||
20 | <?php endwhile; ?> |
||||||
21 | </ul> |
||||||
22 | </div> |
||||||
23 | <?php wp_reset_postdata(); ?> |
||||||
0 ignored issues
–
show
The function
wp_reset_postdata 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 | <?php endif; ?> |
||||||
25 | </div> |
||||||
26 |