This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Latest Posts by Author

Description

This plugin allows you to display an unordered list of links to a specific author’s latest posts (or a list of multiple authors). It can be called either with a shortcode or from within a theme file.

To call it with a shortcode, use [latestbyauthor author="username" show="3"] where “username” is the login name of the author (or a comma separated list of multiple authors) and “3” is the number of posts to display. If you don’t specify an author or a display number, it will show the latest 5 posts from the author of the current page. If you want it to display the post excerpt as well, you can use the following code: [latestbyauthor author="username" show="3" excerpt="true"] This will only show exerpts that you have entered manually.

To call it from within a theme template, you have to wrap it in this PHP function: <?php echo do_shortcode('[latestbyauthor author="username" show="3"]'); ?>

Installation

  1. Upload the latests-posts-by-author folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place <?php echo do_shortcode('[latestbyauthor]'); ?> in your templates or [latestbyauthor] in your posts

FAQ

No questions yet

That’s right, none so far.

0.9

Added custom post type support.

Added filter hooks:
latestbyauthor_list_before
latestbyauthor_link_before
latestbyauthor_title_before
latestbyauthor_title
latestbyauthor_title_after
latestbyauthor_link_after
latestbyauthor_excerpt
latestbyauthor_list_after

Removed post thumbnail support that was only available by uncommenting the relevant code. Thumbnails can be added by the theme or another plugin using the new filters.

0.8.2

Corrected an issue with post thumbnail support. Thanks to gkemp on the WordPress.org forum for reporting it.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Latest Posts by Author” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

0.8.1

Updated the documentation.

0.8

Added a missing </ul> tag. Thanks to Ken Howard for pointing that out.

Added support for multiple authors. You can now use a comma separated list of authors. Thanks to Zgunder for the suggestion.

Updated the query to exclude the current post. This prevents a link to the current pate from being displayed. Thanks again to Ken Howard for the help on this one.

Added better inline documentation.

0.7

Switched from using the $wpdb object to the WP_Query class to gather posts from the database, greatly simplifying the plugin code. Thanks to Jack Rugile for pointing out some issues with the last version that led to this update.

0.6

Fixed reference to guid. Replaced with get_permalink()

0.5

  • Tested with WordPress 3.0

0.4

  • Fixed documentation.

0.3

  • Added the option to show post excerpts.

0.2

  • Now only shows published posts (not drafts). Thanks for catching that Welzie.

0.1

  • First version, no changes yet.