FEATURE Organising Authors filter list by last name
This commit is contained in:
parent
33759696e7
commit
c1d9f4720f
|
|
@ -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(
|
||||
|
|
@ -73,7 +76,7 @@ $thematiques = get_terms(array(
|
|||
<?php if ($revues->have_posts()) : ?>
|
||||
<?php while ($revues->have_posts()) : $revues->the_post(); ?>
|
||||
|
||||
<?php
|
||||
<?php
|
||||
//CODE TO DELETE BEACAUSE CARD HAS BEEN UPDATED WITH CARHOP POOST_CARD MODEL
|
||||
// get_template_part('template-parts/revues/card-revue', null, array(
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user