refining page
This commit is contained in:
parent
21d133bddd
commit
98b5f8072d
|
|
@ -52,8 +52,6 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos
|
|||
<?php /* ------------
|
||||
BREADCRUMB
|
||||
-----------------*/ ?>
|
||||
|
||||
|
||||
<nav class=" breadcrumbs_navigation" aria-label="breadcrumbs">
|
||||
<ol>
|
||||
<li>
|
||||
|
|
@ -81,7 +79,8 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos
|
|||
<?php /* -------
|
||||
FILTERS
|
||||
---------------*/ ?>
|
||||
<div class="filters-toolbar filters-toolbar--archive-publications">
|
||||
<div class="filters-toolbar filters-toolbar--archive-publications" active-publication-type="all">
|
||||
<!-- RESULTS INDICATIONS -->
|
||||
<div class="filters-toolbar__posts-results-indications">
|
||||
<p class="filters-toolbar__posts-results-amount filter-disable" role="status">
|
||||
<span class="results-amount">
|
||||
|
|
@ -102,10 +101,12 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos
|
|||
|
||||
</div>
|
||||
|
||||
|
||||
<ul>
|
||||
<!-- FILTERS (PUBLICATIONS & THEMATIQUES) -->
|
||||
<div class="filters-toolbar__filters-container">
|
||||
<!-- PUBLICATIONS TYPES FILTERS -->
|
||||
<ul class="publication-type-filters-wrapper">
|
||||
<li>
|
||||
<button class="filters-toolbar__action-button" data-term-id="all" data-publication-type="all"><?php echo __("Tous", "homegrade-theme_texte-fonctionnel") ?></button>
|
||||
<button class="filters-toolbar__action-button filters-toolbar__action-button--active" data-term-id="all" data-publication-type="all"><?php echo __("Tous", "homegrade-theme_texte-fonctionnel") ?></button>
|
||||
</li>
|
||||
<li>
|
||||
<button class="filters-toolbar__action-button" data-publication-type="brochures">
|
||||
|
|
@ -127,6 +128,44 @@ $total_posts_found = $brochuresPosts->found_posts + $fichesInfosPosts->found_pos
|
|||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<!-- THEMATIQUES FILTERS -->
|
||||
<div class="action-thematiques-filters-wrapper">
|
||||
<?php
|
||||
$thematiques = get_terms(array(
|
||||
'taxonomy' => 'thematiques',
|
||||
'hide_empty' => true,
|
||||
'parent' => 0,
|
||||
));
|
||||
|
||||
?>
|
||||
<div class="filters-toolbar__action-thematiques-filters">
|
||||
<button class="filter-by-thematiques-submenu-toggle"><?php echo __("Filtrer par catégories", "homegrade-theme__texte-fonctionnel") ?></button>
|
||||
<ul class="action-thematiques-filters-list" hidden>
|
||||
<li>
|
||||
<input class="filters-toolbar__action-thematiques-filter--show-all" type="checkbox" id="all" name="all" value="all" checked>
|
||||
<label for="all"><?php echo __("Tous", "homegrade-theme__texte-fonctionnel") ?></label>
|
||||
</li>
|
||||
|
||||
<?php foreach ($thematiques as $thematique) : ?>
|
||||
<li>
|
||||
<input class="filters-toolbar__action-thematiques-filter" type="checkbox" id="<?php echo $thematique->slug ?>" name="<?php echo $thematique->slug ?>" value="<?php echo $thematique->term_id ?>" data-title="<?php echo $thematique->name ?>">
|
||||
<label for="<?php echo $thematique->slug ?>"><?php echo $thematique->name ?></label>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ACTIVE FILTERS VIEWER -->
|
||||
<div class="filters-toolbar__active-filters-viewer">
|
||||
<div class="active-filters-button-container">
|
||||
</div>
|
||||
<button class="filters-toolbar__action-button--reset-filter cta cta--button cta--outline" hidden><?php echo __("Réinitialiser le filtre ", "homegrade-theme__texte-fonctionnel") ?></button>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<?php /* ---------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user