Description
Upcoming Posts provides a widget to display posts scheduled to be published.
Download
Features
- Control number of posts to be displayed
- Pick posts at random to be displayed
- Display post titles as a link or plain text
- Display drafts along with scheduled posts
- Display drafts instead of scheduled posts
Screenshots
Configuration…
In use with no hyperlinks…
In use with hyperlinks…
Shortcodes
[bcdupcoming]
| Attributes | |
| numposts | number specifying how many posts should be displayed. Omit to include all upcoming posts. |
| sortorder | determines the sort order of the list. The sorting is performed on the post date. Valid values:
If not specified then sortorder defaults to asc. |
| showmore | displays the post’s excerpt or text leading up to the *more* tag. Valid values:
If not specified the excerpt will be displayed. |
| showlink | displays the post’s title as a hyperlink or plain text. Valid values:
If not specified the title is displayed as plain text. |
| includedrafts | includes drafts along with scheduled posts. Valid values:
If not specified drafts will not be shown. |
| draftsonly | hides scheduled posts and displays only drafts. Only applies if includedrafts is omitted or set to yes. Valid values:
If not specified drafts and scheduled posts will be shown. |
Usage
The following examples illustrate using the [bcdupcoming] shortcode to display upcoming posts. The attributes can be supplied in any order and must be separated by a space.
Display all upcoming posts.
[bcdupcoming]
Display only 5 upcoming posts
[bcdupcoming numposts=5]
Display upcoming posts in descending order
[bcdupcoming sortorder=desc]
Display the posts without showing the excerpts
[bcdupcoming showmore=no]
Display five posts at random
[bcdupcoming numposts=5 sortorder=rand]
Display five posts at random without excerpts
[bcdupcoming numposts=5 sortorder=rand showmore=no]
Display titles as plain text
[bcdupcoming showlink=no]
Display titles as a link
[bcdupcoming showlink=yes]
Display drafts along with scheduled posts
[bcdupcoming includedrafts=yes]
Display only drafts
[bcdupcoming onlydrafts=yes]




Nice work sir! I dig it!
Hi! Good work!
I wonder if it would be possible to sort the entries descendently, I’m using the pluging to show a schedule of a cultural NGO center but appears first the newest activities and I would like that appears firstly the olders. How can I do it?
Thanks a lot!
There is currently no widget option that allows for different sorting options (other than random). I can definitely add that option.
Thank you for your answer
No problem. I’m glad you like the plugin. I updated it so you should be able to change the sort order now.