• Resolved gabilanyi

    (@gabilanyi)


    Hello,
    1. Can I exclude specific authors?
    2. Can I include guest authors (added with a guest author plugin)?
    Thank you.

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

    (@wpkube)

    Hi @gabilanyi

    1) Yes, you can use the exclude parameter, example:

    [authors_list exclude="5,10,15"]

    Where 5, 10 and 15 would be the IDs of the users you want to exclude.

    2) Are they added as users (can they be seen in WP admin > Users)?

    Thread Starter gabilanyi

    (@gabilanyi)

    Thank you, @wpkube
    Regarding question (2): No, the guest authors do not appear under WP Users. They are added with a plugin (Molongui). There are many authors; basically, each post has its own guest author. Still, the list of authors is important. I suppose you are pulling the information out of the Users list, right? In this case, I don’t think it will be possible to create a list of guest authors.
    Thank you,
    Gabriel

    Plugin Author WPKube

    (@wpkube)

    Hi @gabilanyi

    Yeah, the plugin uses the native WordPress users/authors system.

    If it was a simple tweak to make it work with their system we’d implement it but unfortunately it’s not a simple change. Sorry.

    Thread Starter gabilanyi

    (@gabilanyi)

    I hope I’m not harassing you…
    I managed to get most of the features working.
    Could you please take a look at goodwritingg.com?
    This is the syntax I used:
    [authors_list show_link=”no” style=”1″ columns=”1″ columns_direction=”vertical” show_avatar=”no” orderby=”last_name” show_count=”no”]
    Here is what I wasn’t able to do:
    (1) Control font size and spacing; which php do I need to edit?
    (2) The authors are not sorted by last name, despite the orderby parameter.
    (3) Would it be possible to display the names as follows: Morrison, Bryce (as opposed to Bryce Morrison)?
    Thank you so much.
    Gabriel

    Plugin Author WPKube

    (@wpkube)

    Hi @gabilanyi

    1) Font size is not PHP related, it’s CSS. Goes in WP admin > Appearance > Customize > Additional CSS:

    .authors-list-item .authors-list-item-title {
        font-size: 18px;
    }

    2) By default ordering for all the options is descending (Z-A in this case), add this to make it ascending (A-Z) order="ASC"

    3) The way names are displayed comes from the WordPress setting “Display name publicly as” (can be found when editing a user).

    Thread Starter gabilanyi

    (@gabilanyi)

    Thank you so much! You are amazingly helpful.
    Gabriel

    Plugin Author WPKube

    (@wpkube)

    You’re welcome Gabriel.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Exclude authors, include guest authors’ is closed to new replies.