Compare commits

...

4 Commits

Author SHA1 Message Date
Nonimart
ac4be1164a FEATURE Commenting authors import now replaced by the carhop homonymous function
All checks were successful
continuous-integration/drone/push Build is passing
2026-03-23 16:44:53 +01:00
Nonimart
c1d9f4720f FEATURE Organising Authors filter list by last name 2026-03-23 16:36:57 +01:00
Nonimart
33759696e7 STYLE Passing the thumbnail overlay style for the cards 2026-03-23 16:36:40 +01:00
Nonimart
53e1a20259 Organising Authors filter list by last name 2026-03-23 16:36:18 +01:00
3 changed files with 12 additions and 5 deletions

View File

@ -8,7 +8,7 @@ require_once(__DIR__ . '/includes/logos.php');
require_once(__DIR__ . '/includes/article-columns.php');
require_once(__DIR__ . '/includes/revues-columns.php');
require_once(__DIR__ . '/includes/revue.php');
require_once(__DIR__ . '/includes/auteurs.php');
// require_once(__DIR__ . '/includes/auteurs.php'); ### TO DELETE THE FILE BEACAUSE NOW IN CARHOP THEME
require_once(__DIR__ . '/includes/article.php');
require_once(__DIR__ . '/includes/api.php');
require_once(__DIR__ . '/includes/renderPostsDatas.php');

View File

@ -25,7 +25,10 @@ $articles = new WP_Query($query_args);
$post_count = $articles->post_count;
$authors = get_posts(array(
'post_type' => 'auteurs',
'posts_per_page' => -1
'posts_per_page' => -1,
'order' => 'ASC',
'meta_key' => 'last_name',
'orderby' => 'meta_value',
));
$thematiques = get_terms(array(
@ -96,6 +99,7 @@ $thematiques = get_terms(array(
<?php get_template_part('template-parts/components/cards/post-card', null, array(
'ID' => get_the_ID(),
'showTags' => false,
'has_thumbnail_overlay' => true,
)); ?>
<?php
// get_template_part('template-parts/articles/card-article', null, array(

View File

@ -6,7 +6,10 @@ $revues = new WP_Query(array(
$post_count = $revues->post_count;
$authors = get_posts(array(
'post_type' => 'auteurs',
'posts_per_page' => -1
'posts_per_page' => -1,
'order' => 'ASC',
'meta_key' => 'last_name',
'orderby' => 'meta_value',
));
$thematiques = get_terms(array(