• Is there any way I can restrict users from being listed (other than admin)? Eg. I have 10 users at a group blog, all are listed on the sidebar with list_authors() but 2 users leave the site. I don’t want to delete their posts but I don’t want them to appear on the sidebar – can I exclude them?

    (I’m obviously using 1.5)

Viewing 2 replies - 1 through 2 (of 2 total)
  • I did a little research on this and the wp_list_authors() tag and I can’t find a way to do this, though it might be possible with the use of some conditional tags. You can read about those in the WordPress Codex at https://codex.www.ads-software.com/Conditional_Tags to see if there is something there you can use. There are some conditional author tags, but I don’t see how they will work in this case, but who knows.

    Honestly, unless you really hate them, if you want their work to still be accessed, does it really matter that it shows up? You can also change their author names to a common name like “Others” and hard code their names in the article itself so it doesn’t appear on the author list.

    Thread Starter jemmie19

    (@jemmie19)

    I don’t hate them, no, lol.. the reason behind it was more because I’m a perfectionist, and trimming down the sidebar makes the site appear tidier.

    Thanks for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘restricting users with wp_list_authors?’ is closed to new replies.