user meta – Combining wp_list_authors with get_user_meta

Question

i am using the wp_list_authors function as the following:

<?php wp_list_authors( array(
'show_fullname' => 'true',
'orderby'       => 'display_name',
'order'         => 'ASC'
)) ?> 

However this shows the authors by firstname + lastname I want to switch that so it shows the users lastname + firstname.

I cant figure out how can i use the get_user_meta in the function.

It is possible or should I use something else than wp_list_authors?

0
Simo Tamas 4 days 2021-09-13T05:41:35-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse