WP Authors provides an “Authors” widget in the sidebar, useful for identifying all the different authors in a multi-author blog. This widget used to be present in the Widgets plugin for WordPress-2.1, but was removed for WordPress-2.2.
Installation is the usual for a sidebar widget:
- Download the zip file.
- Unzip it into
wp-content/plugins(or upload thewp-authors.phpfile into thewp-content/pluginsdirectory on the web server). - Go to the WordPress “Plugins” control panel and activate “WP Authors”.
- Go to the WordPress “Presentation” control panel and configure the widgets; add “Authors” to the sidebar.
I’ve written this a sidebar widget for WordPress-2.2.
This plugin is not necessary for WordPress-2.1, because it is already included in the Widgets plugin for WordPress-2.1.
If you like this plugin (or if you don’t), please leave a comment with a link to your website.
Posted in WordPress on Sat Jul 28, 2007 at 3:05 pm by Rob

Posts
Hi. WP Authors is working, but there is a problem, i guess.
If there are 4 widgets on my sidebar and put WP authors on second order, it looks like here
but normal state is not like that, here’s normal : pic ( i put WP authors fourth order )
in summary, if WP Authors widget is on last order, it look great, but if I put that before any other widgets, it has problems.
check this please :) and sorry for my fool english :(
I have activated your plugin and added the command
to my Author template to add both name and image of the author and I get nothing on the Author Page and I just get the Author id on the main posts.
Any ideas how I can fix this.
I only want the Authors listed in my sidebar. Currently every regsitered user appears even though they are only subscribers and not authors. How can I fix this so only Authors appear.
I also see in the code that empt Authors should not be listed but they are. Look here http://www.optimalaccess.com/blog/
Stefan Ritzi is a subscriber with no posts.
Thanks for the help.
any idea why it was removed for the 2.2 release?
I am not sure what is going on here, but I have had this happen twice. I added the wp_author, I add it as a widget, I edit the parameters on the server and save the file and add the widget to my sidebar and it works fine. Next I click to edit the Title of the widget and thing break. The widget now lists all the registered users (Authors and subscribers) and further I notice that the widget does not save the options! Can you please hlep fix this, I really need this working. Any help appreciated.
wp-authors 1.0.2 is now available and should fix the problems described in #1, #2, #3, and #5.
Thanks Rob, the new version has solved all the problems mentioned and is very useful.
Hey Rob,
what string (in which file?) must be edited, that the name of the widget isn’t anymore “Authors”? I want to translate the headline to german, but cannot found them in the wp-authors.php. Please tell me.
Additionally the “Authors” Headline is shown in one row with the text below. This is not the same behavior like the other widgets. See this Screenshot and the blue line for example.
This problem is independent from the configured order.
Thanks for your support.
Best Regards from sunny Berlin
Tobi
> what string (in which file?) must be edited, that the name of the
> widget isn’t anymore “Authors”? I want to translate the headline
> to german, but cannot found them in the wp-authors.php.
Navigate to “Presentation”, “Widgets” in your WordPress dashboard. Click on the right-side icon (as with many other widgets); you will be presented with a dialog box that allows you to configure the widget title and other options.
> Additionally the “Authors” Headline is shown in one row with the
> text below. This is not the same behavior like the other widgets.
You found a bug; I have released wp-authors 1.1 to fix this issue. Thanks!
No Problem!
Thanks for your quick support.
Can you tell me if I can change the order of the authors ? I’d like to display them by number of posts but I change the orderby variable in the file, it doesn’t work…
Thank you for your help !
Flo
The order cannot be changed by the plugin; you could change the order by modifying your WordPress core file
wp-includes/author-template.php; the query there has a hard-coded “ORDER BY display_name”. This would have to be edited to incorporate some kind of join to order by post count.Hi, I just upgraded to WP 2.3 and the newest wp-authors. WHen I go to presentation -> widgets, and click on the authors widget, i get this:
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/23573/domains/linuxbraindump.org/html/wp-content/plugins/wp-authors/wp-authors.php on line 58
Any ideas?
I am unable to reproduce this problem, but I saw a potential problem. Try upgrading to WP-Authors-1.2 and see if that fixes your problem.
That fixed it right up. Thanks!
I don´t use widgets as they mess up some of my plugins. Can you please also provide the code for manually installing your plugin in sidebar.php? Thanx for any help! Bob
Once again (for notification)
Widgets work a certain way for a reason. If a plugin causes all your widgets to break, then it is the plugin needs to be fixed, not all the widgets. Sorry, but I cannot help you.
Hi there,
Nice plugin indeed !……BUT what if you only want “editors” posts rather than “authors” posts ?…………
This would be very useful to me …..Thanks !
Cheers
This is possible with the plugin, but will not be done. The reason is that WordPress user capabilities (”editor”, “author”, etc.) are not really exposed in to the plugin API. Any such functionality would require direct SQL queries, which would leave plugins vulnerable to breakage with every WordPress upgrade.
Ok Rob thanks for your reply…
All the best !
Hi Rob,
I internationalised your plugin a bit so that it is working with po- and mo-files. If you are interested in, please send me an email.
gl
Thank you very much, Gerhard.
Version 1.3 has been released, which includes i18n/l10n support (DE included with download).
where is the download file? This download is linked the wordpress.org but file not found.
[...] Wp-authors provides an “Authors” widget in the sidebar, useful for identifying all the different authors in a multi-author blog. [...]
Any way this plugin could also output the individual author’s feeds as well?
Author-specific feeds have nothing to do with plugins; it is up to your theme to make the author feed easily accessible to your readers. The author-specific feed is just:
http://website/blog/author/<authorlogin>/feed/
(Substitute your WordPress url for “/blog”.)
I am looking for such a widget that will list authors who have posted within a certain time period; that is, de-list them if they don’t contribute. Anything like that possible?
Nice plug-in! I’m using it on our new Core Knowledge Foundation blog.
I would like to exclude a particular author; we have a generic author for some bits and pieces in the blog, in other words, not a genuine “author”.
I looked at the code, but I’m really not sure of the best way to do this. Suggestions?
This is a limitation of the WordPress API (wp_list_authors in wp-includes/author-template.php), which doesn’t provide a mechanism for filtering the list. Currently you’d have to hack your WP core to get your desired functionality, or change the plugin to use raw SQL to get a list of authors (which would cause the plugin to be subject to breakage when new WordPress releases come out).
thanks for the explanation, Rob!
I redefined an editor as an admin, but I can’t exclude display of these posts using the widget configuration settings. No matter whether “exclude admin” is checked or unchecked, the site still shows these posts. Other settings work, such as show/hide post counts. Ideas?
—Diana
The “exclude admin” refers to the actual “admin” user, not a user with admin capabilities.
The WordPress API for obtaining some set of authors is just not that rich; the options you see in the WP Authors plugin configuration AI is all it is capable of donig. Anything more will require patching and submission back into the WP core.
I was wondering if there was a way of altering the code of the plugin so it could be displayed as a dropdown menu instead of just a list. It seems like it would be pretty simple, but I’m new to wordpress and php coding, so what do I know.
Thanks for the plugin and your help
hey there. I’m also interested in altering the plugin so it could be displayed as a dropdown menu. Do you think it can be done..and how…i really don’t know php that much..so i need help
Hi,
First of, I want to thank you very much for making this tool available (wp-authors plugin). I am using this tool for the one of the sites I volunteer for which has lots of contributing authors.
As happy as I am with just the way it is, I thought it would be nice collapsible—something collapsible wp-authors. This way, let’s say if we had a hundred authors, the list wouldn’t seem endless…
Thank you. You have done a great job.
Tara
http://www.khmervoice.com
Any idea how I might integrate the User Photo plug-in? User photo allows users to associate a photo with their account. It’s set up to use with posts/comments.
I’d like to insert a thumbnail photo with the associated author in the WP Authors sidebar widget.
I have recently installed the plug-in and am testing it.
Seems to be rendering fine but when you follow the link into the it just throws an 404 error ?
Any suggestions.
Examples of course blog possibilities and plans for the future…
So here they are, examples of the three kinds of blogs that I outlined in this post, as well as explanations for how to create them within WordPress MU. Jon has kindly let me use his Spanish 312 class……
Thank you. We are using plug-in on our website and quite happy with it ..
keep working community need it..
wp_authors does not seem to be working with wordpress 2.5. The link on the home page throws a 404 error. I will try to debug, but you may have others like me.
sigh, Authors plugin not working with 2.5 for me. If I activate it, the widget appears at the top, showing ALL registered users, no matter what I do in the widget management screen.
And I really want an Authors plugin. :(
OK, this one worked. Maybe just updating the widget config did it?
If anyone has a moment, I am trying to figure out how to apply a profile pic to the author public profile from this plugin. I am not understanding the readme instructions inlcuded.
Thanks
Hello there! Thank you for your great widget and plugin.
I want to ask you how can i make the widget link the author name to its url and not to the wordpress url that shows his posts. I would like to link it to his url entered in the users profile. I looked in the php file and couldn’t seem to figure out what and where to put. Please help me out here. Thank you!
Excellent feature request, but unfortunately this is outside the scope of the wp-authors widget. Your requested feature would require modification to the WordPress core routine
wp_list_authors.Perhaps the widget referenced in #43 can do more for you (I haven’t looked at it, myself).