Allows listing of authors who are active or inactive within a defined recent period of time.
A plugin providing template tags to list all active (or inactive) authors in the WordPress installation.
<?php list_active_authors( 'days=30&include_protected_posts=0' ); ?> Will list all the authors active in the last 30 days, not counting password protected posts as "activity". Both parameters are optional. <?php list_inactive_authors( 'days=30&include_protected_posts=0' ); ?> Will list all the authors NOT active in the last 30 days, counting password protected posts as "activity". Again, both parameters are optional.
If "days" are not provided the tags default to the last 30 days. If "include_protected_posts" is not specified, the tags default to not including password protected posts.
The HTML output is fairly heavily classed, but if you need to adapt it you can. Create a directory in your theme called "view", and a directory within that one called "author-listings". Then copy the template files
view/author-listings/inactive-authors-list.php from the plugin directory into your theme directory and amend as you need. If these files exist in these directories in your theme they will override the ones in the plugin directory. This is good because it means that when you update the plugin you can simply overwrite the old plugin directory as you haven't changed any files in it. All hail John Godley for the code which allows this magic to happen. Can hook into the User Photo plugin to display the author photos.
Plugin initially produced on behalf of Puffbox.
Is this plugin lacking a feature you want? I'm happy to accept offers of feature sponsorship: contact me and we can discuss your ideas.
Any issues: contact me.
Requires: 2.6 or higher
Compatible up to: 2.7-beta3-9909
Last Updated: 8 years ago
Active Installs: 70+
Got something to say? Need help?