Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author WPKube

    (@wpkube)

    Hi @mauricefrancois

    There’s an update coming today or tomorrow, will include that.

    Thread Starter Fran?ois Maurice

    (@mauricefrancois)

    @wpkube,
    thanks, really appreciated.

    Fran?ois

    Plugin Author WPKube

    (@wpkube)

    Hi @mauricefrancois

    You’re welcome.

    The update is released. Simply set the orderby parameter to last_name and order to ASC (for A to Z).

    [authors_list orderby="last_name" order="ASC"]

    Thread Starter Fran?ois Maurice

    (@mauricefrancois)

    Hi @wpkube,

    Thanks a lot.

    But does not work for me. I get the same order as Display Name.

    Here’s the code I used:

    [authors_list orderby="last_name" order="ASC" style="1" columns="2" roles="author" show_bio="no" show_avatar="no" show_count="no"]

    Do you have any idea? I’m using a multisite. Can it be a problem?

    Thanks,

    Fran?ois

    Plugin Author WPKube

    (@wpkube)

    Hi @mauricefrancois

    Weird, tried the same code and worked fine.

    Keep in mind it’s based on the actual “Last Name” field for users. When you go to edit a user (or your own profile) in WP Admin, in the “Name” section there’s “First Name”, “Last Name”, “Nickname”.

    Is that how you have the last names set for the authors?

    Thread Starter Fran?ois Maurice

    (@mauricefrancois)

    Hi @wpkube,

    Really sorry, I forgot to update Author List. ??
    Everything works well!

    Two more questions:

    1) One column problem: if I set columns=”1″, authors are display one after the other, from left to right, instead to be displayed one under the other in one neat column. See this page:
    https://metascience-fr.sopromet.org/publications/auteur-e-s/

    2) Two columns feature: right now, columns=”2″ display names from one columns to the second one, instead to fill first a column then the other column. Is there a way to do that. See this page:
    https://metascience-en.sopromet.org/publications/authors/

    Thanks,

    Fran?ois

    Plugin Author WPKube

    (@wpkube)

    Hi @mauricefrancois

    No worries, happy to hear it works ??

    1) Thanks for letting me know about that, will get that fixed in the next update. In the meantime just add the following in WP admin > Appearance > Customize > Additional CSS:

    .authors-list-cols-1 .authors-list-item {
        width: 100%;
    }

    2) It is the intended layout, 2 columns/items per row, each author gets a column. But I do see how the layout you mentioned would be useful. Will figure out a solution for that for the next update (next week).

    Thread Starter Fran?ois Maurice

    (@mauricefrancois)

    Hi @wpkube,

    Nice, the CSS code works perfectly.

    I’m waiting for the next update.

    Thanks a lot,

    Fran?ois

    Plugin Author WPKube

    (@wpkube)

    You’re welcome Fran?ois

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Order by Last Name’ is closed to new replies.