No one can hear me scream

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 the wp-authors.php file into the wp-content/plugins directory 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.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
Posted in WordPress on Sat Jul 28, 2007 at 3:05 pm by Rob
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

48 Comments

  1. 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 :(

    Xeph # Wed Aug 8, 2007 — 10:12 am
  2. 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.

    Karan # Thu Aug 9, 2007 — 5:20 pm
  3. 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.

    Karan # Fri Aug 10, 2007 — 11:37 am
  4. any idea why it was removed for the 2.2 release?

    Brian # Mon Aug 13, 2007 — 2:59 pm
  5. 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.

    Karan # Mon Aug 13, 2007 — 11:05 pm
  6. wp-authors 1.0.2 is now available and should fix the problems described in #1, #2, #3, and #5.

    Rob # Sun Aug 19, 2007 — 4:47 pm
  7. Thanks Rob, the new version has solved all the problems mentioned and is very useful.

    Karan # Mon Aug 20, 2007 — 7:51 am
  8. 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

    Tobi # Sun Aug 26, 2007 — 9:33 am
  9. > 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!

    Rob # Sun Aug 26, 2007 — 2:18 pm
  10. No Problem!

    Thanks for your quick support.

    Tobi # Sun Aug 26, 2007 — 2:21 pm
  11. 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

    flo # Sat Sep 8, 2007 — 12:50 pm
  12. 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…

    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.

    Rob # Sat Sep 8, 2007 — 2:07 pm
  13. 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?

    James House # Wed Oct 3, 2007 — 8:06 pm
  14. 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

    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.

    Rob # Fri Oct 5, 2007 — 1:21 am
  15. That fixed it right up. Thanks!

    James House # Fri Oct 5, 2007 — 4:53 pm
  16. 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

    Robert # Tue Oct 9, 2007 — 5:50 am
  17. Once again (for notification)

    Robert # Tue Oct 9, 2007 — 5:50 am
  18. 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?

    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.

    Rob # Tue Oct 9, 2007 — 10:34 am
  19. 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

    Ian # Thu Oct 11, 2007 — 4:04 pm
  20. BUT what if you only want “editors” posts rather than “authors” posts ?…………

    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.

    Rob # Thu Oct 11, 2007 — 9:03 pm
  21. Ok Rob thanks for your reply…

    All the best !

    Ian # Fri Oct 12, 2007 — 10:14 am
  22. 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

    Gerhard Lehnhoff # Thu Oct 18, 2007 — 11:56 am
  23. Thank you very much, Gerhard.

    Version 1.3 has been released, which includes i18n/l10n support (DE included with download).

    Rob # Mon Oct 22, 2007 — 10:32 pm
  24. where is the download file? This download is linked the wordpress.org but file not found.

    yok # Wed Oct 24, 2007 — 5:44 pm
  25. [...] Wp-authors provides an “Authors” widget in the sidebar, useful for identifying all the different authors in a multi-author blog. [...]

  26. Any way this plugin could also output the individual author’s feeds as well?

    Joel Burslem # Wed Oct 31, 2007 — 5:43 pm
  27. 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”.)

    Rob # Wed Oct 31, 2007 — 6:17 pm
  28. 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?

    WBK # Fri Nov 2, 2007 — 2:28 pm
  29. 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?

    diana # Fri Nov 30, 2007 — 8:54 am
  30. 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).

    Rob # Fri Nov 30, 2007 — 11:21 am
  31. thanks for the explanation, Rob!

    diana # Mon Dec 3, 2007 — 6:57 am
  32. 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

    diana # Thu Dec 13, 2007 — 8:48 am
  33. 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?

    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.

    Rob # Thu Dec 13, 2007 — 9:32 am
  34. 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

    doyle # Tue Jan 8, 2008 — 5:40 pm
  35. 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

    laura # Wed Jan 30, 2008 — 12:18 am
  36. 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

    Tara # Wed Jan 30, 2008 — 7:38 pm
  37. 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.

    Bricksmith # Wed Feb 20, 2008 — 8:47 am
  38. 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.

    David Hunt # Thu Feb 21, 2008 — 7:20 am
  39. 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……

    Andre Malan's Site # Sat Mar 8, 2008 — 3:55 pm
  40. Thank you. We are using plug-in on our website and quite happy with it ..
    keep working community need it..

    software developer # Fri Apr 4, 2008 — 1:59 am
  41. 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.

    Sharon # Sat Apr 5, 2008 — 3:15 pm
  42. 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. :(

    Diana # Mon Apr 14, 2008 — 11:44 am
  43. OK, this one worked. Maybe just updating the widget config did it?

    Diana # Mon Apr 14, 2008 — 12:07 pm
  44. 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

    rocky # Sun Apr 27, 2008 — 8:53 am
  45. 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!

    Victor # Sun Apr 27, 2008 — 4:23 pm
  46. 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.

    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).

    Rob # Sun Apr 27, 2008 — 7:52 pm
  47. [...] WP Authors: WP Authors provides an “Authors” widget in the sidebar, useful for identifying all the different authors in a multi-author blog. [...]

    Wordpress 2.5 Must Have Plugins # Wed May 28, 2008 — 2:05 pm
  48. Excellent plugin. I am using it in the website I customize for an online magazine:
    http://thepublicsphere.com/2008/06/evidence-of-things-hidden-behind-the-voting-booth/

    I have a suggestion: is it possible for you to add an option for organizing the authors’ names alphabetically? It is very necessary for multiple-authors websites where you want everyone treated equally.

    Sourenaa # Thu Jun 26, 2008 — 11:56 am

Leave a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>