A plugin which enables you to get recent posts by authors, categories and tags, with featured images, excerpt, works for custom post types as well in
Author: | Cooperative Computing (profile at wordpress.org) |
WordPress version required: | 2.8 |
WordPress version tested: | 4.3 |
Plugin version: | 1.0 |
Added to WordPress repository: | 19-06-2015 |
Last updated: | 24-08-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 90 |
Rated by: | 2 |
Plugin URI: | http://cooperativecomputing.com |
Total downloads: | 1 612 |
Active installs: | 100+ |
Click to start download |
This plugin allows you to display an unordered list of post (or custom post type) links (with title, featured image and exceprt) to a specific author (or multiple authors), category (or multiple categories) and tag (or multiple tags). It can be called either with a shortcode or from within a theme file.
To call it with a shortcode, use [recent]
below are the attributes you can use with this shortcode:
* Authors:
[recent author="username or multiple usernames separated by comma"]
* Category:
[recent category="category name or names separated by comma"]
* Tag:
[recent tag="tag name or names separated by comma"]
* Post Type:
[recent post_type="post type name"]
* Show Posts:
[recent show="number of posts to show"]
* Show Excerpt:
[recent excerpt="true (default is false)"]
* Show Thumbnail:
[recent thumbnail="true (default is false)"]
To call it from within a theme template, you have to wrap it in this PHP function: <?php echo do_shortcode('your shortcode goes here'); ?>
To use this plugin in sidebar by using widget:
- Go to themes > appearance > widgets
- Drag
Recent Posts Widget by CC
to the sidebar where you want to display. - That's it.