Compare commits

..

No commits in common. "ac4be1164af261f229ee0671be0c567419a3acfc" and "165721e03a4e8061e91f7287e347edd871032bef" have entirely different histories.

3 changed files with 5 additions and 12 deletions

View File

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

View File

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

View File

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