Recent Posts by Cooperative Computing free WordPress plugin
Description
Recent Posts by Cooperative Computing free WordPress plugin
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:
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.