Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Latest Posts by Author


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"]'); ?>


  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

Vanliga frågor

No questions yet

That’s right, none so far.


Added custom post type support.

Added filter hooks:

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.


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


Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”Latest Posts by Author” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Latest Posts by Author” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.



Updated the documentation.


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.


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.


Fixed reference to guid. Replaced with get_permalink()


  • Tested with WordPress 3.0


  • Fixed documentation.


  • Added the option to show post excerpts.


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


  • First version, no changes yet.