Organising Authors filter list by last name
This commit is contained in:
parent
165721e03a
commit
53e1a20259
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user