FEATURE Order authors byt last names in query
This commit is contained in:
parent
bb842dedc4
commit
6d58909701
|
|
@ -26,7 +26,8 @@ $authors = get_posts(array(
|
|||
<?php $comities_related_authors = get_posts(array(
|
||||
'post_type' => 'auteurs',
|
||||
'posts_per_page' => -1,
|
||||
'orderby' => 'title',
|
||||
'meta_key' => 'last_name',
|
||||
'orderby' => 'meta_value',
|
||||
'order' => 'ASC',
|
||||
'meta_query' => array(
|
||||
array(
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user