FEATURE refining search results aspects
This commit is contained in:
parent
8a057c15a9
commit
4ef1815a4d
|
|
@ -38,6 +38,7 @@
|
|||
@apply transition-shadow hover:shadow-lg;
|
||||
|
||||
&__title {
|
||||
@apply text-xl !mb-2;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
|
|
@ -61,6 +62,10 @@
|
|||
@apply hover:underline;
|
||||
}
|
||||
|
||||
&__parution-date {
|
||||
@apply block text-lg font-normal text-primary !mb-4;
|
||||
}
|
||||
|
||||
.search-highlight {
|
||||
@apply text-primary bg-carhop-green-50 font-bold;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -56,6 +56,9 @@
|
|||
?>
|
||||
</a>
|
||||
</h2>
|
||||
<date class="search-results-card__parution-date">
|
||||
<?php echo get_the_date('F Y'); ?>
|
||||
</date>
|
||||
<div class="search-results-page__search-snippet">
|
||||
<?php echo get_search_snippet(get_the_ID(), get_search_query()); ?>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -22,11 +22,10 @@ $articles = get_field('articles', $current_issue->ID);
|
|||
<div class="content-wrapper" data-active-tab="table-of-contents">
|
||||
<div class="sidebar">
|
||||
<div class="search-field">
|
||||
<input type="text" placeholder="Rechercher">
|
||||
<input type="text" placeholder="Rechercher dans la revue">
|
||||
</div>
|
||||
<?php
|
||||
$tags = get_revue_terms($current_issue->ID, 'etiquettes');
|
||||
|
||||
?>
|
||||
<?php if ($tags) : ?>
|
||||
<div class="tags">
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user