ವಿವರಣೆ
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.
Use it in a post, page, widget or theme template:
[latestbyauthor author="username" show="3"]
author– the author’s username. Use commas for several authors:author="anna,ben". Inside a post, it defaults to that post’s author.show– number of posts, 1 to 50. Default: 5.length– characters of content to show. Default: 200.excerpt–trueto also show the post’s manual excerpt. Default:false.
In a theme template: <?php echo do_shortcode( '[latestbyauthor author="username" show="3"]' ); ?>
On a single post, that post is left out of the list. Only published, public posts are listed.
ಸ್ಥಾಪನೆ
- In your WordPress admin go to Plugins > Add New, search for “Latest Posts by Author with content”, then install and activate it.
- Add
[latestbyauthor]to a post, or[latestbyauthor author="username"]anywhere else.
FAQ
-
Nothing is shown
-
Outside a single post you must set
author. Check the username is correct and that the author has published posts. -
Do my existing shortcodes still work after updating to 2.0.0?
-
Yes. The shortcode and its
author,showandexcerptattributes are unchanged.
ವಿಮರ್ಶೆಗಳು
ಈ ಪ್ಲಗಿನ್ಗೆ ಯಾವುದೇ ವಿಮರ್ಶೆಗಳಿಲ್ಲ.
ಕೊಡುಗೆದಾರರು & ಡೆವಲಪರ್ಗಳು
“Latest Posts by Author with content” ಓಪನ್ ಸೋರ್ಸ್ ಸಾಫ್ಟ್ವೇರ್ ಆಗಿದೆ. ಕೆಳಗಿನ ಜನರು ಈ ಪ್ಲಗಿನ್ಗೆ ಕೊಡುಗೆ ನೀಡಿದ್ದಾರೆ.
ಕೊಡುಗೆದಾರರು“Latest Posts by Author with content” ಅನ್ನು ನಿಮ್ಮ ಭಾಷೆಗೆ ಅನುವಾದಿಸಿ.
ಅಭಿವೃದ್ಧಿಯಲ್ಲಿ ಆಸಕ್ತಿ ಇದೆಯೇ?
ಕೋಡ್ ಬ್ರೌಸ್ ಮಾಡಿ, SVN ರೆಪೊಸಿಟರಿ ಪರಿಶೀಲಿಸಿ, ಅಥವಾ ಅಭಿವೃದ್ಧಿ ಲಾಗ್ ಗೆ RSS ಚಂದಾದಾರರಾಗಿ.
Changelog
2.0.0
- Security: all output is escaped, and password-protected posts are no longer listed.
- Fixed a PHP warning or fatal error when an author username did not exist.
- Fixed the content preview cutting HTML tags and shortcodes in half.
- Fixed an empty list being printed when the author had no posts.
- New
lengthattribute for the preview length. - Author can also be given as a user ID or author slug.
- “Read more” links now include the post title for screen readers.
- Now requires WordPress 6.0 and PHP 7.4 or later. Tested up to WordPress 7.1.
1.0
- Initial release.
