removing tests
This commit is contained in:
parent
a22c049b6d
commit
8b6454e10b
|
|
@ -11,7 +11,6 @@ $initialPosts = new WP_Query([
|
||||||
"posts_per_page" => -1,
|
"posts_per_page" => -1,
|
||||||
"paged" => 1,
|
"paged" => 1,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<div class="homegrade-page-container metiers-patrimoine-page-container--repertoire-metiers">
|
<div class="homegrade-page-container metiers-patrimoine-page-container--repertoire-metiers">
|
||||||
|
|
@ -50,7 +49,6 @@ $initialPosts = new WP_Query([
|
||||||
));
|
));
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
<section class="artisans-posts">
|
<section class="artisans-posts">
|
||||||
<aside class="metier-patrimoine-searchbar">
|
<aside class="metier-patrimoine-searchbar">
|
||||||
<div class="metier-patrimoine-searchbar__results-indications">
|
<div class="metier-patrimoine-searchbar__results-indications">
|
||||||
|
|
@ -141,7 +139,6 @@ $initialPosts = new WP_Query([
|
||||||
<input class="parent-checkbox taxonomy-checkbox" type="checkbox" name="metiers[]" value="<?php echo esc_attr($parent_term->term_id); ?>" data-term="<?php echo esc_attr($parent_term->slug); ?>">
|
<input class="parent-checkbox taxonomy-checkbox" type="checkbox" name="metiers[]" value="<?php echo esc_attr($parent_term->term_id); ?>" data-term="<?php echo esc_attr($parent_term->slug); ?>">
|
||||||
<label>
|
<label>
|
||||||
<?php echo esc_html($parent_term->name); ?>
|
<?php echo esc_html($parent_term->name); ?>
|
||||||
|
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<!-- Afficher les enfants sous forme de checkboxes -->
|
<!-- Afficher les enfants sous forme de checkboxes -->
|
||||||
|
|
@ -213,8 +210,6 @@ $initialPosts = new WP_Query([
|
||||||
|
|
||||||
<div class=" artisans-posts__grid">
|
<div class=" artisans-posts__grid">
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
|
||||||
foreach ($initialPosts->posts as $key => $artisanPost) {
|
foreach ($initialPosts->posts as $key => $artisanPost) {
|
||||||
$post_date = get_the_date('j.m.Y', $artisanPost->ID) ?? null;
|
$post_date = get_the_date('j.m.Y', $artisanPost->ID) ?? null;
|
||||||
|
|
||||||
|
|
@ -231,8 +226,6 @@ $initialPosts = new WP_Query([
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user