Compare commits
No commits in common. "39560dc2cf7f46024697a5c1d499f6bf1ec995d7" and "759004fb67c4fdec21f42d1246e747f08f7464fb" have entirely different histories.
39560dc2cf
...
759004fb67
|
|
@ -11,15 +11,7 @@ function metiers_patrimoine_create_posttype()
|
|||
array(
|
||||
'labels' => array(
|
||||
'name' => __('Artisans', 'metiers-patrimoine-theme'),
|
||||
'singular_name' => __('Artisan', 'metiers-patrimoine-theme'),
|
||||
'add_new' => __('Ajouter un artisan', 'metiers-patrimoine-theme'),
|
||||
'add_new_item' => __('Ajouter un artisan', 'metiers-patrimoine-theme'),
|
||||
'edit_item' => __('Modifier l\'artisan', 'metiers-patrimoine-theme'),
|
||||
'new_item' => __('Nouvel artisan', 'metiers-patrimoine-theme'),
|
||||
'view_item' => __('Voir l\'artisan', 'metiers-patrimoine-theme'),
|
||||
'search_items' => __('Rechercher un artisan', 'metiers-patrimoine-theme'),
|
||||
'not_found' => __('Aucun artisan trouvé', 'metiers-patrimoine-theme'),
|
||||
'not_found_in_trash' => __('Aucun artisan trouvé dans la corbeille', 'metiers-patrimoine-theme'),
|
||||
'singular_name' => __('Artisan', 'metiers-patrimoine-theme')
|
||||
),
|
||||
'public' => true,
|
||||
'has_archive' => true,
|
||||
|
|
@ -45,6 +37,7 @@ function metiers_patrimoine_create_posttype()
|
|||
'search_items' => __('Rechercher un chantier', 'metiers-patrimoine-theme'),
|
||||
'not_found' => __('Aucun chantier trouvé', 'metiers-patrimoine-theme'),
|
||||
'not_found_in_trash' => __('Aucun chantier trouvé dans la corbeille', 'metiers-patrimoine-theme'),
|
||||
|
||||
),
|
||||
'public' => true,
|
||||
'has_archive' => true,
|
||||
|
|
|
|||
|
|
@ -14,10 +14,6 @@ body.post-type-artisans {
|
|||
.post-type-artisans #icl_translations {
|
||||
width: 40px;
|
||||
}
|
||||
|
||||
/* ---------------------------
|
||||
STATUTS
|
||||
---------------------------*/
|
||||
.post-type-artisans {
|
||||
.status-state {
|
||||
@apply font-medium !rounded-2xl px-2 py-2 w-fit mx-auto;
|
||||
|
|
@ -28,19 +24,22 @@ body.post-type-artisans {
|
|||
@apply text-rose-700;
|
||||
}
|
||||
&--to_actualize {
|
||||
@apply text-amber-500;
|
||||
}
|
||||
&--to_contact {
|
||||
@apply text-yellow-500;
|
||||
@apply text-amber-600;
|
||||
}
|
||||
&--waiting_feedback,
|
||||
&--ongoing {
|
||||
@apply text-blue-600;
|
||||
&--new_artisan_to_contact {
|
||||
@apply text-sky-600;
|
||||
}
|
||||
&--being_updated {
|
||||
@apply text-cyan-600;
|
||||
}
|
||||
&--rejected {
|
||||
@apply text-rose-400;
|
||||
@apply text-slate-600;
|
||||
/* filter: saturate(20%); */
|
||||
}
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1600px) {
|
||||
#conseiller,
|
||||
#status,
|
||||
#lastmodified,
|
||||
|
|
@ -51,8 +50,6 @@ body.post-type-artisans {
|
|||
.column-status {
|
||||
@apply text-center;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 1600px) {
|
||||
#lastmodified,
|
||||
#onlinedate,
|
||||
#conseiller {
|
||||
|
|
@ -102,10 +99,6 @@ body.post-type-artisans {
|
|||
}
|
||||
}
|
||||
|
||||
/* ---------------------------
|
||||
STATUTS
|
||||
---------------------------*/
|
||||
|
||||
.subsubsub {
|
||||
.all,
|
||||
.publish,
|
||||
|
|
@ -449,7 +442,3 @@ ul.striped > :nth-child(odd) {
|
|||
.misc-pub-section.rank-math-seo-score {
|
||||
@apply !hidden;
|
||||
}
|
||||
|
||||
.acf-input-wrap input::placeholder {
|
||||
@apply text-neutral-400;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -188,12 +188,6 @@ $pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<?php
|
||||
get_template_part('template-components/informative-message/informative-message', null, array(
|
||||
"message" => __("Ces fiches reprennent les informations communiquées par l'entreprise. Les erreurs éventuelles n'engagent pas la responsabilité de Homegrade.", "metiers-patrimoine-theme")
|
||||
));
|
||||
?>
|
||||
</p>
|
||||
<div class="previous-next-posts previous-next-artisan">
|
||||
|
||||
<?php
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
object-fit: contain;
|
||||
}
|
||||
}
|
||||
|
||||
&__taxo-container {
|
||||
@apply !m-0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ get_header();
|
|||
$pageIcon = get_field('page_icon', get_queried_object_id()) ?? null;
|
||||
|
||||
$initialPosts = new WP_Query([
|
||||
"post_status" => "publish",
|
||||
"status" => "publish",
|
||||
"post_type" => "artisans",
|
||||
"posts_per_page" => -1,
|
||||
"paged" => 1,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user