AFW V2 Colors

:root { /* Primary Colors */ –afw-p1: #0f182d; –afw-p2: #878c96; –afw-p2-lite: #E7E8EA; –afw-p3: #1245e8; –afw-p4: #6636e8; /* Division Colors */ –afw-rgv: #00aeef; –afw-rgs: #f15a29; –afw-rgp: #2bb691; /* Secondary Colors */ –afw-s1: #ffda00; –afw-s1-lite: #fff099; –afw-s2: #ffab40; –afw-s2-lite: #ffddb3; –afw-s3: #fe8220;…Continue reading

Single Trad à faire

{{ post.title }} Date d’enregistrement du lien : {{ post.iljwk_date_denregistrement_du_lien | date( ‘d M Y’ ) }} Statut : {{ post.iljwk_statut_actuel.value }} À traduire : {{ post.iljwk_url_a_traduire_jp_titre }}{{ post.iljwk_url_de_la_traduction }} Traduction : {{ post.iljwk_url_de_la_traduction }} Institution source : {{ post.iljwk_institution_source…Continue reading

Liste tsunamis

Date Raison Hauteur des vagues Détails {# 1. Requête WordPress standard #} {% set liste_brute = mb.get_posts({ ‘post_type’: ‘ilaj_tsunami’, ‘posts_per_page’: -1, ‘post_status’: ‘publish’ }) %} {# 2. L’ASTUCE ANTI-CRASH #} {% set mes_articles = liste_brute|default([]) %} {# 3. On vérifie…Continue reading

Trads à faire

Depuis Sujet Statut À traduire {# 1. Sécurité Rôle (Correction de la syntaxe Twig ici) #} {% if mb.current_user_can(‘ilaj_trads’) or mb.current_user_can(‘administrator’) %} {# 2. Requête WordPress standard #} {% set liste_brute = mb.get_posts({ ‘post_type’: ‘ilaj_trads’, ‘posts_per_page’: -1, ‘post_status’: ‘publish’ })…Continue reading

MetaBox : CSS universel

/* ========================================================================= STRUCTURE UNIVERSELLE DES BADGES D’ALERTE ========================================================================= */ /* 1. Base commune à TOUS les badges du site */ .ilj-badge-alerte { display: inline-flex; align-items: center; justify-content: center; padding: 6px 12px; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; line-height:…Continue reading

Infos URL source

{% if post.ilj_url_source is not empty %} Source : {{ post.ilj_url_titre is not empty ? post.ilj_url_titre : post.ilj_url_source }} {% endif %} {% if post.ilj_date_url is not empty %} Traduction à partir de la version du {{ post.ilj_date_url | date(…Continue reading

Notifications – Color Variables

/** * Notifications – Color Variables * * Reads notification color settings from the JetEngine * Site Features options page and outputs CSS variables. * * JetEngine Options Page: * – Storage: Default as array * * Expected field keys:…Continue reading