Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm trying to create a page which should display a list of users with the role "Author" only and exclude all other default and custom roles.

I also want them to be filterable by alphabets, so if I click on "A", or "B", and so on, the users starting with that alphabet should show on the page.

I tried to use wp_list_authors but that's very limited to what I need here. (code below)

<ul>
<?php wp_list_authors('exclude_admin=1&optioncount=1&show_fullname=1&hide_empty=1'); ?>
</ul>

Any idea how this can be done or any plugin for this?

share|improve this question
1  
What have you tried so far? Be so kind as to show some code that can be improved upon thereafter. –  Johannes Pille Mar 20 '13 at 15:05
    
Updated the question @JohannesPille –  Bhanu Chawla Mar 20 '13 at 15:08
    
A solution can be built analyzing the wp_list_authors function and constructing an alphabet array. –  brasofilo Mar 20 '13 at 17:14

1 Answer 1

up vote 0 down vote accepted

Alright, I've got a plugin here which sorts it out.

amr users wordpress plugin

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.