seamless chantier metabox
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
43409893b3
commit
abf3ecc992
|
|
@ -110,6 +110,7 @@ function render_custom_chantier_box_content($post)
|
||||||
|
|
||||||
if ($chantiers->have_posts()) {
|
if ($chantiers->have_posts()) {
|
||||||
|
|
||||||
|
echo '<h3> Chantiers réalisé par l\'entreprise </h3>';
|
||||||
echo '<ul>';
|
echo '<ul>';
|
||||||
while ($chantiers->have_posts()) {
|
while ($chantiers->have_posts()) {
|
||||||
$chantiers->the_post();
|
$chantiers->the_post();
|
||||||
|
|
@ -118,6 +119,7 @@ function render_custom_chantier_box_content($post)
|
||||||
}
|
}
|
||||||
echo '</ul>';
|
echo '</ul>';
|
||||||
} else {
|
} else {
|
||||||
|
echo '<h3> Chantiers réalisé par l\'entreprise </h3>';
|
||||||
echo '<p style="font-size: 1rem;">Aucun chantier pour cette entreprise.</p>';
|
echo '<p style="font-size: 1rem;">Aucun chantier pour cette entreprise.</p>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user