{"id":20149,"date":"2012-10-02T03:08:01","date_gmt":"2012-10-02T03:08:01","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/latest-posts-by-author-with-content\/"},"modified":"2026-09-16T06:20:05","modified_gmt":"2026-09-16T06:20:05","slug":"latest-posts-by-author-with-content","status":"closed","type":"plugin","link":"https:\/\/nb.wordpress.org\/plugins\/latest-posts-by-author-with-content\/","author":10165665,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.0.0","stable_tag":"2.0.0","tested":"7.1.2","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Latest Posts by Author with content","header_author":"OpenSource Technologies","header_description":"","assets_banners_color":"f3f3f3","last_updated":"2026-09-16 06:20:05","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/latest-posts-by-author-with-content\/","header_author_uri":"https:\/\/ost.agency\/","rating":3.5,"author_block_rating":0,"active_installs":30,"downloads":4592,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"2.0.0":{"tag":"2.0.0","author":"opensourcetech","date":"2026-09-16 06:20:05","revision":3697994}},"upgrade_notice":{"2.0.0":"<p>Security and PHP 8 compatibility update. Existing shortcodes keep working.<\/p>"},"ratings":{"1":0,"2":"1","3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":1212495,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":665085,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["2.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[9255,4956,166,1083,80],"plugin_category":[43],"plugin_contributors":[84404],"plugin_business_model":[],"class_list":["post-20149","plugin","type-plugin","status-closed","hentry","plugin_tags-author-posts","plugin_tags-authors","plugin_tags-posts","plugin_tags-recent-posts","plugin_tags-shortcode","plugin_category-customization","plugin_contributors-opensourcetech","plugin_committers-opensourcetech"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/latest-posts-by-author-with-content_f3f3f3.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Latest Posts by Author with content shows a list of an author's newest posts. Each item has the post title, a short preview of its content and a \"Read more\" link.<\/p>\n\n<p>Use it in a post, page, widget or theme template:<\/p>\n\n<pre><code>[latestbyauthor author=\"username\" show=\"3\"]\n<\/code><\/pre>\n\n<ul>\n<li><code>author<\/code> \u2013 the author's username. Use commas for several authors: <code>author=\"anna,ben\"<\/code>. Inside a post, it defaults to that post's author.<\/li>\n<li><code>show<\/code> \u2013 number of posts, 1 to 50. Default: 5.<\/li>\n<li><code>length<\/code> \u2013 characters of content to show. Default: 200.<\/li>\n<li><code>excerpt<\/code> \u2013 <code>true<\/code> to also show the post's manual excerpt. Default: <code>false<\/code>.<\/li>\n<\/ul>\n\n<p>In a theme template: <code>&lt;?php echo do_shortcode( '[latestbyauthor author=\"username\" show=\"3\"]' ); ?&gt;<\/code><\/p>\n\n<p>On a single post, that post is left out of the list. Only published, public posts are listed.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>In your WordPress admin go to Plugins &gt; Add New, search for \"Latest Posts by Author with content\", then install and activate it.<\/li>\n<li>Add <code>[latestbyauthor]<\/code> to a post, or <code>[latestbyauthor author=\"username\"]<\/code> anywhere else.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"nothing%20is%20shown\"><h3>Nothing is shown<\/h3><\/dt>\n<dd><p>Outside a single post you must set <code>author<\/code>. Check the username is correct and that the author has published posts.<\/p><\/dd>\n<dt id=\"do%20my%20existing%20shortcodes%20still%20work%20after%20updating%20to%202.0.0%3F\"><h3>Do my existing shortcodes still work after updating to 2.0.0?<\/h3><\/dt>\n<dd><p>Yes. The shortcode and its <code>author<\/code>, <code>show<\/code> and <code>excerpt<\/code> attributes are unchanged.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Security: all output is escaped, and password-protected posts are no longer listed.<\/li>\n<li>Fixed a PHP warning or fatal error when an author username did not exist.<\/li>\n<li>Fixed the content preview cutting HTML tags and shortcodes in half.<\/li>\n<li>Fixed an empty list being printed when the author had no posts.<\/li>\n<li>New <code>length<\/code> attribute for the preview length.<\/li>\n<li>Author can also be given as a user ID or author slug.<\/li>\n<li>\"Read more\" links now include the post title for screen readers.<\/li>\n<li>Now requires WordPress 6.0 and PHP 7.4 or later. Tested up to WordPress 7.1.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"List an author&#039;s latest posts with a short preview of each post, using a shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/20149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=20149"}],"author":[{"embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/opensourcetech"}],"wp:attachment":[{"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=20149"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=20149"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=20149"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=20149"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=20149"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=20149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}