one liner for search results

This commit is contained in:
Antoine M 2024-11-22 09:46:37 +01:00
parent 3ad7f51b2e
commit 943c345375

View File

@ -50,8 +50,7 @@ $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;
<p class="metier-patrimoine-searchbar__posts-results-amount" role="status" aria-live="polite"> <p class="metier-patrimoine-searchbar__posts-results-amount" role="status" aria-live="polite">
<span class="results-amount"> <span class="results-amount">
4 </span> 4 </span>
<span class="results-text"> <span class="results-text">résultat(s) </span>
résultat(s) </span>
</p> </p>
@ -198,7 +197,6 @@ $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;
"post_type" => "artisans", "post_type" => "artisans",
"posts_per_page" => -1, "posts_per_page" => -1,
"paged" => 1, "paged" => 1,
]); ]);